[clang] [llvm] Reland "[HLSL][RootSignature] Implement initial parsing of the descriptor table clause params" (PR #136740)

Finn Plummer via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 23 11:48:38 PDT 2025


================
@@ -129,10 +129,10 @@ TEST_F(ParseHLSLRootSignatureTest, ValidParseEmptyTest) {
 TEST_F(ParseHLSLRootSignatureTest, ValidParseDTClausesTest) {
   const llvm::StringLiteral Source = R"cc(
     DescriptorTable(
-      CBV(),
-      SRV(),
-      Sampler(),
-      UAV()
+      CBV(b0),
+      SRV(space = 3, t42),
+      Sampler(s987, space = +2),
+      UAV(u4294967294)
----------------
inbelic wrote:

Yep, `offset` is added in a separate pr here: https://github.com/llvm/llvm-project/pull/137038.

This pr just handles the space and register parameters

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


More information about the llvm-commits mailing list