Skip to content

Commit e924ef9

Browse files
committed
self-review: fix invalid root signature in test
1 parent cc14464 commit e924ef9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/test/AST/HLSL/RootSignatures-AST.hlsl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
" CBV(b1), " \
1111
" SRV(t1, numDescriptors = 8, " \
1212
" flags = DESCRIPTORS_VOLATILE), " \
13-
" UAV(u1, numDescriptors = 0, " \
13+
" UAV(u1, numDescriptors = 1, " \
1414
" flags = DESCRIPTORS_VOLATILE) " \
1515
"), " \
1616
"DescriptorTable(Sampler(s0, numDescriptors = 4, space = 1))"
@@ -21,7 +21,7 @@
2121
// CHECK-SAME: offset = DescriptorTableOffsetAppend, flags = DataStaticWhileSetAtExecute),
2222
// CHECK-SAME: SRV(t1, numDescriptors = 8, space = 0,
2323
// CHECK-SAME: offset = DescriptorTableOffsetAppend, flags = DescriptorsVolatile),
24-
// CHECK-SAME: UAV(u1, numDescriptors = 0, space = 0,
24+
// CHECK-SAME: UAV(u1, numDescriptors = 1, space = 0,
2525
// CHECK-SAME: offset = DescriptorTableOffsetAppend, flags = DescriptorsVolatile),
2626
// CHECK-SAME: DescriptorTable(numClauses = 3, visibility = All),
2727
// CHECK-SAME: Sampler(s0, numDescriptors = 4, space = 1,
@@ -48,7 +48,7 @@ void same_rs_main() {}
4848
" CBV(b1), " \
4949
" SRV(t1, numDescriptors = 8, " \
5050
" flags = DESCRIPTORS_VOLATILE), " \
51-
" UAV(u1, numDescriptors = 0, " \
51+
" UAV(u1, numDescriptors = 1, " \
5252
" flags = DESCRIPTORS_VOLATILE) " \
5353
"), " \
5454
"DescriptorTable(Sampler(s0, numDescriptors = 4, space = 1))"

0 commit comments

Comments
 (0)