|
13 | 13 |
|
14 | 14 | #define SampleRS "RootFlags( ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT | " \
|
15 | 15 | "DENY_VERTEX_SHADER_ROOT_ACCESS), " \
|
16 |
| - "CBV(b0, space = 1, flags = DATA_STATIC), " \ |
| 16 | + "CBV(b0, space = 1, flags = DATA_VOLATILE), " \ |
17 | 17 | "SRV(t0), " \
|
18 | 18 | "UAV(u0), " \
|
19 | 19 | "DescriptorTable( CBV(b1), " \
|
20 | 20 | "SRV(t1, numDescriptors = 8, " \
|
21 |
| - " flags = DESCRIPTORS_VOLATILE), " \ |
| 21 | + " flags = DATA_VOLATILE | DESCRIPTORS_VOLATILE), " \ |
22 | 22 | "UAV(u1, numDescriptors = unbounded, " \
|
23 |
| - " flags = DESCRIPTORS_VOLATILE)), " \ |
| 23 | + " flags = DATA_VOLATILE | DESCRIPTORS_VOLATILE)), " \ |
24 | 24 | "DescriptorTable(Sampler(s0, space=1, numDescriptors = 4)), " \
|
25 | 25 | "RootConstants(num32BitConstants=3, b10), " \
|
26 | 26 | "StaticSampler(s1)," \
|
|
34 | 34 | // CHECK-SAME: RootElements{
|
35 | 35 | // CHECK-SAME: RootFlags(AllowInputAssemblerInputLayout | DenyVertexShaderRootAccess),
|
36 | 36 | // CHECK-SAME: RootCBV(b0,
|
37 |
| -// CHECK-SAME: space = 1, visibility = All, flags = DataStatic |
| 37 | +// CHECK-SAME: space = 1, visibility = All, flags = DataVolatile |
38 | 38 | // CHECK-SAME: ),
|
39 | 39 | // CHECK-SAME: RootSRV(t0,
|
40 | 40 | // CHECK-SAME: space = 0, visibility = All,
|
|
50 | 50 | // CHECK-V1_1-SAME: flags = DataStaticWhileSetAtExecute
|
51 | 51 | // CHECK-SAME: ),
|
52 | 52 | // CHECK-SAME: SRV(
|
53 |
| -// CHECK-SAME: t1, numDescriptors = 8, space = 0, offset = DescriptorTableOffsetAppend, flags = DescriptorsVolatile |
| 53 | +// CHECK-SAME: t1, numDescriptors = 8, space = 0, offset = DescriptorTableOffsetAppend, flags = DescriptorsVolatile | DataVolatile |
54 | 54 | // CHECK-SAME: ),
|
55 | 55 | // CHECK-SAME: UAV(
|
56 |
| -// CHECK-SAME: u1, numDescriptors = unbounded, space = 0, offset = DescriptorTableOffsetAppend, flags = DescriptorsVolatile |
| 56 | +// CHECK-SAME: u1, numDescriptors = unbounded, space = 0, offset = DescriptorTableOffsetAppend, flags = DescriptorsVolatile | DataVolatile |
57 | 57 | // CHECK-SAME: ),
|
58 | 58 | // CHECK-SAME: DescriptorTable(
|
59 | 59 | // CHECK-SAME: numClauses = 3, visibility = All
|
@@ -92,14 +92,14 @@ void same_rs_main() {}
|
92 | 92 | #define SampleSameRS \
|
93 | 93 | "RootFlags( ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT | " \
|
94 | 94 | "DENY_VERTEX_SHADER_ROOT_ACCESS), " \
|
95 |
| - "CBV(b0, space = 1, flags = DATA_STATIC), " \ |
| 95 | + "CBV(b0, space = 1, flags = DATA_VOLATILE), " \ |
96 | 96 | "SRV(t0), " \
|
97 | 97 | "UAV(u0), " \
|
98 | 98 | "DescriptorTable( CBV(b1), " \
|
99 |
| - "SRV(t1, numDescriptors = 8, " \ |
100 |
| - " flags = DESCRIPTORS_VOLATILE), " \ |
101 |
| - "UAV(u1, numDescriptors = unbounded, " \ |
102 |
| - " flags = DESCRIPTORS_VOLATILE)), " \ |
| 99 | + " SRV(t1, numDescriptors = 8, " \ |
| 100 | + " flags = DATA_VOLATILE | DESCRIPTORS_VOLATILE), " \ |
| 101 | + " UAV(u1, numDescriptors = unbounded, " \ |
| 102 | + " flags = DATA_VOLATILE | DESCRIPTORS_VOLATILE)), " \ |
103 | 103 | "DescriptorTable(Sampler(s0, space=1, numDescriptors = 4)), " \
|
104 | 104 | "RootConstants(num32BitConstants=3, b10), " \
|
105 | 105 | "StaticSampler(s1)," \
|
|
0 commit comments