[llvm-branch-commits] [clang] [llvm] [HLSL][RootSignature] Add optional parameters for RootConstants (PR #138007)

Finn Plummer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu May 1 13:13:04 PDT 2025


================
@@ -82,6 +82,8 @@ class RootSignatureParser {
   struct ParsedConstantParams {
     std::optional<llvm::hlsl::rootsig::Register> Reg;
     std::optional<uint32_t> Num32BitConstants;
+    std::optional<uint32_t> Space;
----------------
inbelic wrote:

I think having it separate maps closer and clearer to the metadata and parameter specification

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


More information about the llvm-branch-commits mailing list