|
15 | 15 | "), " \ |
16 | 16 | "DescriptorTable(Sampler(s0, numDescriptors = 4, space = 1))" |
17 | 17 |
|
18 | | -// CHECK: -HLSLRootSignatureDecl 0x{{.*}} {{.*}} implicit [[SAMPLE_RS_DECL:__hlsl_rootsig_decl_.*]] |
| 18 | +// CHECK: -HLSLRootSignatureDecl 0x{{.*}} {{.*}} implicit [[SAMPLE_RS_DECL:__hlsl_rootsig_decl_\d*]] |
| 19 | +// CHECK-SAME: RootElements{ |
| 20 | +// CHECK-SAME: CBV(b1, numDescriptors = 1, space = 0, |
| 21 | +// CHECK-SAME: offset = DescriptorTableOffsetAppend, flags = DataStaticWhileSetAtExecute), |
| 22 | +// CHECK-SAME: SRV(t1, numDescriptors = 8, space = 0, |
| 23 | +// CHECK-SAME: offset = DescriptorTableOffsetAppend, flags = DescriptorsVolatile), |
| 24 | +// CHECK-SAME: UAV(u1, numDescriptors = 0, space = 0, |
| 25 | +// CHECK-SAME: offset = DescriptorTableOffsetAppend, flags = DescriptorsVolatile), |
| 26 | +// CHECK-SAME: DescriptorTable(numClauses = 3, visibility = All), |
| 27 | +// CHECK-SAME: Sampler(s0, numDescriptors = 4, space = 1, |
| 28 | +// CHECK-SAME: offset = DescriptorTableOffsetAppend, flags = None), |
| 29 | +// CHECK-SAME: DescriptorTable(numClauses = 1, visibility = All) |
| 30 | +// CHECK-SAME: } |
19 | 31 |
|
20 | 32 | // CHECK: -RootSignatureAttr 0x{{.*}} {{.*}} [[SAMPLE_RS_DECL]] |
21 | 33 | [RootSignature(SampleRS)] |
@@ -51,7 +63,12 @@ void same_rs_string_main() {} |
51 | 63 | // Ensure that when we define a different type root signature that it creates |
52 | 64 | // a seperate decl and identifier to reference |
53 | 65 |
|
54 | | -// CHECK: -HLSLRootSignatureDecl 0x{{.*}} {{.*}} implicit [[DIFF_RS_DECL:__hlsl_rootsig_decl_.*]] |
| 66 | +// CHECK: -HLSLRootSignatureDecl 0x{{.*}} {{.*}} implicit [[DIFF_RS_DECL:__hlsl_rootsig_decl_\d*]] |
| 67 | +// CHECK-SAME: RootElements{ |
| 68 | +// CHECK-SAME: Sampler(s0, numDescriptors = 4, space = 1, |
| 69 | +// CHECK-SAME: offset = DescriptorTableOffsetAppend, flags = None), |
| 70 | +// CHECK-SAME: DescriptorTable(numClauses = 1, visibility = All) |
| 71 | +// CHECK-SAME: } |
55 | 72 |
|
56 | 73 | // CHECK: -RootSignatureAttr 0x{{.*}} {{.*}} [[DIFF_RS_DECL]] |
57 | 74 | [RootSignature(SampleDifferentRS)] |
|
0 commit comments