[llvm-branch-commits] [clang] [llvm] [HLSL][RootSignature] Add optional parameters for RootConstants (PR #138007)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu May 1 10:01:28 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;
----------------
joaosaffran wrote:
Space is used whenever we have registers, shouldn't this be an optional field in the registers struct?
https://github.com/llvm/llvm-project/pull/138007
More information about the llvm-branch-commits
mailing list