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

Finn Plummer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Apr 14 10:16:58 PDT 2025


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

What is the reason to define this instead of just using `dxbc::RootParameterType`. They seem to map to the same value and we are already using it in `DXILRootSignature.cpp`

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


More information about the llvm-branch-commits mailing list