Skip to content

Commit eb167ef

Browse files
committed
update AST testcase
1 parent 9805234 commit eb167ef

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,17 @@
3737
// CHECK-SAME: space = 1, visibility = All, flags = DataStatic
3838
// CHECK-SAME: ),
3939
// CHECK-SAME: RootSRV(t0,
40-
// CHECK-SAME: space = 0, visibility = All, flags = DataStaticWhileSetAtExecute
40+
// CHECK-SAME: space = 0, visibility = All,
41+
// CHECK-V1_0-SAME: flags = DataVolatile
42+
// CHECK-V1_1-SAME: flags = DataStaticWhileSetAtExecute
4143
// CHECK-SAME: ),
4244
// CHECK-SAME: RootUAV(
4345
// CHECK-SAME: u0, space = 0, visibility = All, flags = DataVolatile
4446
// CHECK-SAME: ),
4547
// CHECK-SAME: CBV(
46-
// CHECK-SAME: b1, numDescriptors = 1, space = 0, offset = DescriptorTableOffsetAppend, flags = DataStaticWhileSetAtExecute
48+
// CHECK-SAME: b1, numDescriptors = 1, space = 0, offset = DescriptorTableOffsetAppend,
49+
// CHECK-V1_0-SAME: flags = DescriptorsVolatile | DataVolatile
50+
// CHECK-V1_1-SAME: flags = DataStaticWhileSetAtExecute
4751
// CHECK-SAME: ),
4852
// CHECK-SAME: SRV(
4953
// CHECK-SAME: t1, numDescriptors = 8, space = 0, offset = DescriptorTableOffsetAppend, flags = DescriptorsVolatile
@@ -55,7 +59,9 @@
5559
// CHECK-SAME: numClauses = 3, visibility = All
5660
// CHECK-SAME: ),
5761
// CHECK-SAME: Sampler(
58-
// CHECK-SAME: s0, numDescriptors = 4, space = 1, offset = DescriptorTableOffsetAppend, flags = None
62+
// CHECK-SAME: s0, numDescriptors = 4, space = 1, offset = DescriptorTableOffsetAppend,
63+
// CHECK-V1_1-SAME: flags = DescriptorsVolatile
64+
// CHECK-V1_1-SAME: flags = None
5965
// CHECK-SAME: ),
6066
// CHECK-SAME: DescriptorTable(
6167
// CHECK-SAME: numClauses = 1, visibility = All

0 commit comments

Comments
 (0)