[llvm-branch-commits] [llvm] [HLSL] Adding support for Root Constants in LLVM Metadata (PR #135085)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Apr 14 12:43:57 PDT 2025


================
@@ -24,7 +24,11 @@
 namespace llvm {
 namespace dxil {
 
-enum class RootSignatureElementKind { Error = 0, RootFlags = 1 };
+enum class RootSignatureElementKind {
----------------
joaosaffran wrote:

`RootElements` are not the same as `RootParameters`, the first is a representation that comes from HLSL and the frontend, the latter is a representation for the binary representation and which section of the binary those are being stored. `RootElements` include `RootFlags` and static samplers, those are not `RootParameters`

https://github.com/llvm/llvm-project/pull/135085


More information about the llvm-branch-commits mailing list