[llvm-branch-commits] [llvm] [HLSL] Add descriptor table metadata parsing (PR #142492)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jun 3 11:44:24 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp,h -- llvm/lib/Target/DirectX/DXILRootSignature.cpp llvm/lib/Target/DirectX/DXILRootSignature.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/DirectX/DXILRootSignature.cpp b/llvm/lib/Target/DirectX/DXILRootSignature.cpp
index cd25cca0e..5dbd5887f 100644
--- a/llvm/lib/Target/DirectX/DXILRootSignature.cpp
+++ b/llvm/lib/Target/DirectX/DXILRootSignature.cpp
@@ -451,7 +451,7 @@ static bool validate(LLVMContext *Ctx, const mcdxbc::RootSignatureDesc &RSD) {
return reportValueError(Ctx, "RegisterSpace", Range.RegisterSpace);
if (!verifyDescriptorRangeFlag(RSD.Version, Range.RangeType,
- Range.Flags))
+ Range.Flags))
return reportValueError(Ctx, "DescriptorFlag", Range.Flags);
}
break;
``````````
</details>
https://github.com/llvm/llvm-project/pull/142492
More information about the llvm-branch-commits
mailing list