|
1 | | -// RUN: %dxc -T ps_6_0 -E main -fcgl %s -spirv | FileCheck %s --check-prefixes=CHECK,INFER |
2 | | -// RUN: %dxc -fspv-target-env=vulkan1.3 -T ps_6_0 -E main -fcgl %s -spirv | FileCheck %s --check-prefixes=CHECK,UNKNOWN |
3 | | -// RUN: %dxc -fspv-target-env=universal1.5 -T ps_6_0 -E main -fcgl %s -spirv | FileCheck %s --check-prefixes=CHECK,UNKNOWN |
4 | | - |
5 | | -// Before vulkan1.3, we should be trying to infer the image type for because |
6 | | -// we cannot necessarily use Unknown. However in VK1.3 and later, we can use |
7 | | -// Unknown. |
| 1 | +// RUN: %dxc -T ps_6_0 -E main -fcgl %s -spirv | FileCheck %s |
8 | 2 |
|
9 | 3 | // CHECK: OpCapability SampledBuffer |
10 | | -// INFER: OpCapability StorageImageExtendedFormats |
| 4 | +// CHECK: OpCapability StorageImageExtendedFormats |
11 | 5 |
|
12 | | -// INFER: %type_buffer_image = OpTypeImage %int Buffer 2 0 0 1 R32i |
13 | | -// UNKNOWN: %type_buffer_image = OpTypeImage %int Buffer 2 0 0 1 Unknown |
| 6 | +// CHECK: %type_buffer_image = OpTypeImage %int Buffer 2 0 0 1 R32i |
14 | 7 | // CHECK: %_ptr_UniformConstant_type_buffer_image = OpTypePointer UniformConstant %type_buffer_image |
15 | 8 | Buffer<int> intbuf; |
16 | | -// INFER: %type_buffer_image_0 = OpTypeImage %uint Buffer 2 0 0 1 R32ui |
17 | | -// UNKNOWN: %type_buffer_image_0 = OpTypeImage %uint Buffer 2 0 0 1 Unknown |
| 9 | +// CHECK: %type_buffer_image_0 = OpTypeImage %uint Buffer 2 0 0 1 R32ui |
18 | 10 | // CHECK: %_ptr_UniformConstant_type_buffer_image_0 = OpTypePointer UniformConstant %type_buffer_image_0 |
19 | 11 | Buffer<uint> uintbuf; |
20 | | -// INFER: %type_buffer_image_1 = OpTypeImage %float Buffer 2 0 0 1 R32f |
21 | | -// UNKNOWN: %type_buffer_image_1 = OpTypeImage %float Buffer 2 0 0 1 Unknown |
| 12 | +// CHECK: %type_buffer_image_1 = OpTypeImage %float Buffer 2 0 0 1 R32f |
22 | 13 | // CHECK: %_ptr_UniformConstant_type_buffer_image_1 = OpTypePointer UniformConstant %type_buffer_image_1 |
23 | 14 | Buffer<float> floatbuf; |
24 | 15 |
|
25 | | -// INFER: %type_buffer_image_2 = OpTypeImage %int Buffer 2 0 0 2 R32i |
26 | | -// UNKNOWN: %type_buffer_image_2 = OpTypeImage %int Buffer 2 0 0 2 Unknown |
| 16 | +// CHECK: %type_buffer_image_2 = OpTypeImage %int Buffer 2 0 0 2 R32i |
27 | 17 | // CHECK: %_ptr_UniformConstant_type_buffer_image_2 = OpTypePointer UniformConstant %type_buffer_image_2 |
28 | 18 | RWBuffer<int> intrwbuf; |
29 | | -// INFER: %type_buffer_image_3 = OpTypeImage %uint Buffer 2 0 0 2 R32ui |
30 | | -// UNKNOWN: %type_buffer_image_3 = OpTypeImage %uint Buffer 2 0 0 2 Unknown |
| 19 | +// CHECK: %type_buffer_image_3 = OpTypeImage %uint Buffer 2 0 0 2 R32ui |
31 | 20 | // CHECK: %_ptr_UniformConstant_type_buffer_image_3 = OpTypePointer UniformConstant %type_buffer_image_3 |
32 | 21 | RWBuffer<uint> uintrwbuf; |
33 | | -// INFER: %type_buffer_image_4 = OpTypeImage %float Buffer 2 0 0 2 R32f |
34 | | -// UNKNOWN: %type_buffer_image_4 = OpTypeImage %float Buffer 2 0 0 2 Unknown |
| 22 | +// CHECK: %type_buffer_image_4 = OpTypeImage %float Buffer 2 0 0 2 R32f |
35 | 23 | // CHECK: %_ptr_UniformConstant_type_buffer_image_4 = OpTypePointer UniformConstant %type_buffer_image_4 |
36 | 24 | RWBuffer<float> floatrwbuf; |
37 | 25 |
|
38 | | -// If the `Unkonwn image format is used, then the images below will reuse the types above. |
39 | | -// UNKNOWN-NOT: OpTypeImage |
40 | | - |
41 | | -// INFER: %type_buffer_image_5 = OpTypeImage %int Buffer 2 0 0 1 Rg32i |
42 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_5 = OpTypePointer UniformConstant %type_buffer_image_5 |
| 26 | +// CHECK: %type_buffer_image_5 = OpTypeImage %int Buffer 2 0 0 1 Rg32i |
| 27 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_5 = OpTypePointer UniformConstant %type_buffer_image_5 |
43 | 28 | Buffer<int2> int2buf; |
44 | | -// INFER: %type_buffer_image_6 = OpTypeImage %uint Buffer 2 0 0 1 Rg32ui |
45 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_6 = OpTypePointer UniformConstant %type_buffer_image_6 |
| 29 | +// CHECK: %type_buffer_image_6 = OpTypeImage %uint Buffer 2 0 0 1 Rg32ui |
| 30 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_6 = OpTypePointer UniformConstant %type_buffer_image_6 |
46 | 31 | Buffer<uint2> uint2buf; |
47 | | -// INFER: %type_buffer_image_7 = OpTypeImage %float Buffer 2 0 0 1 Rg32f |
48 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_7 = OpTypePointer UniformConstant %type_buffer_image_7 |
| 32 | +// CHECK: %type_buffer_image_7 = OpTypeImage %float Buffer 2 0 0 1 Rg32f |
| 33 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_7 = OpTypePointer UniformConstant %type_buffer_image_7 |
49 | 34 | Buffer<float2> float2buf; |
50 | 35 |
|
51 | | -// INFER: %type_buffer_image_8 = OpTypeImage %int Buffer 2 0 0 2 Rg32i |
52 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_8 = OpTypePointer UniformConstant %type_buffer_image_8 |
| 36 | +// CHECK: %type_buffer_image_8 = OpTypeImage %int Buffer 2 0 0 2 Rg32i |
| 37 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_8 = OpTypePointer UniformConstant %type_buffer_image_8 |
53 | 38 | RWBuffer<int2> int2rwbuf; |
54 | | -// INFER: %type_buffer_image_9 = OpTypeImage %uint Buffer 2 0 0 2 Rg32ui |
55 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_9 = OpTypePointer UniformConstant %type_buffer_image_9 |
| 39 | +// CHECK: %type_buffer_image_9 = OpTypeImage %uint Buffer 2 0 0 2 Rg32ui |
| 40 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_9 = OpTypePointer UniformConstant %type_buffer_image_9 |
56 | 41 | RWBuffer<uint2> uint2rwbuf; |
57 | | -// INFER: %type_buffer_image_10 = OpTypeImage %float Buffer 2 0 0 2 Rg32f |
58 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_10 = OpTypePointer UniformConstant %type_buffer_image_10 |
| 42 | +// CHECK: %type_buffer_image_10 = OpTypeImage %float Buffer 2 0 0 2 Rg32f |
| 43 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_10 = OpTypePointer UniformConstant %type_buffer_image_10 |
59 | 44 | RWBuffer<float2> float2rwbuf; |
60 | 45 |
|
61 | | -// INFER: %type_buffer_image_11 = OpTypeImage %int Buffer 2 0 0 1 Unknown |
62 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_11 = OpTypePointer UniformConstant %type_buffer_image_11 |
63 | | -// INFER: %type_buffer_image_12 = OpTypeImage %int Buffer 2 0 0 1 Rgba32i |
64 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_12 = OpTypePointer UniformConstant %type_buffer_image_12 |
| 46 | +// CHECK: %type_buffer_image_11 = OpTypeImage %int Buffer 2 0 0 1 Unknown |
| 47 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_11 = OpTypePointer UniformConstant %type_buffer_image_11 |
| 48 | +// CHECK: %type_buffer_image_12 = OpTypeImage %int Buffer 2 0 0 1 Rgba32i |
| 49 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_12 = OpTypePointer UniformConstant %type_buffer_image_12 |
65 | 50 | Buffer<int3> int3buf; |
66 | 51 | Buffer<int4> int4buf; |
67 | | -// INFER: %type_buffer_image_13 = OpTypeImage %uint Buffer 2 0 0 1 Unknown |
68 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_13 = OpTypePointer UniformConstant %type_buffer_image_13 |
69 | | -// INFER: %type_buffer_image_14 = OpTypeImage %uint Buffer 2 0 0 1 Rgba32ui |
70 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_14 = OpTypePointer UniformConstant %type_buffer_image_14 |
| 52 | +// CHECK: %type_buffer_image_13 = OpTypeImage %uint Buffer 2 0 0 1 Unknown |
| 53 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_13 = OpTypePointer UniformConstant %type_buffer_image_13 |
| 54 | +// CHECK: %type_buffer_image_14 = OpTypeImage %uint Buffer 2 0 0 1 Rgba32ui |
| 55 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_14 = OpTypePointer UniformConstant %type_buffer_image_14 |
71 | 56 | Buffer<uint3> uint3buf; |
72 | 57 | Buffer<uint4> uint4buf; |
73 | | -// INFER: %type_buffer_image_15 = OpTypeImage %float Buffer 2 0 0 1 Unknown |
74 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_15 = OpTypePointer UniformConstant %type_buffer_image_15 |
75 | | -// INFER: %type_buffer_image_16 = OpTypeImage %float Buffer 2 0 0 1 Rgba32f |
76 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_16 = OpTypePointer UniformConstant %type_buffer_image_16 |
| 58 | +// CHECK: %type_buffer_image_15 = OpTypeImage %float Buffer 2 0 0 1 Unknown |
| 59 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_15 = OpTypePointer UniformConstant %type_buffer_image_15 |
| 60 | +// CHECK: %type_buffer_image_16 = OpTypeImage %float Buffer 2 0 0 1 Rgba32f |
| 61 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_16 = OpTypePointer UniformConstant %type_buffer_image_16 |
77 | 62 | Buffer<float3> float3buf; |
78 | 63 | Buffer<float4> float4buf; |
79 | 64 |
|
80 | | -// INFER: %type_buffer_image_17 = OpTypeImage %int Buffer 2 0 0 2 Unknown |
81 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_17 = OpTypePointer UniformConstant %type_buffer_image_17 |
82 | | -// INFER: %type_buffer_image_18 = OpTypeImage %int Buffer 2 0 0 2 Rgba32i |
83 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_18 = OpTypePointer UniformConstant %type_buffer_image_18 |
| 65 | +// CHECK: %type_buffer_image_17 = OpTypeImage %int Buffer 2 0 0 2 Unknown |
| 66 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_17 = OpTypePointer UniformConstant %type_buffer_image_17 |
| 67 | +// CHECK: %type_buffer_image_18 = OpTypeImage %int Buffer 2 0 0 2 Rgba32i |
| 68 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_18 = OpTypePointer UniformConstant %type_buffer_image_18 |
84 | 69 | RWBuffer<int3> int3rwbuf; |
85 | 70 | RWBuffer<int4> int4rwbuf; |
86 | | -// INFER: %type_buffer_image_19 = OpTypeImage %uint Buffer 2 0 0 2 Unknown |
87 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_19 = OpTypePointer UniformConstant %type_buffer_image_19 |
88 | | -// INFER: %type_buffer_image_20 = OpTypeImage %uint Buffer 2 0 0 2 Rgba32ui |
89 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_20 = OpTypePointer UniformConstant %type_buffer_image_20 |
| 71 | +// CHECK: %type_buffer_image_19 = OpTypeImage %uint Buffer 2 0 0 2 Unknown |
| 72 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_19 = OpTypePointer UniformConstant %type_buffer_image_19 |
| 73 | +// CHECK: %type_buffer_image_20 = OpTypeImage %uint Buffer 2 0 0 2 Rgba32ui |
| 74 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_20 = OpTypePointer UniformConstant %type_buffer_image_20 |
90 | 75 | RWBuffer<uint3> uint3rwbuf; |
91 | 76 | RWBuffer<uint4> uint4rwbuf; |
92 | | -// INFER: %type_buffer_image_21 = OpTypeImage %float Buffer 2 0 0 2 Unknown |
93 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_21 = OpTypePointer UniformConstant %type_buffer_image_21 |
94 | | -// INFER: %type_buffer_image_22 = OpTypeImage %float Buffer 2 0 0 2 Rgba32f |
95 | | -// INFER: %_ptr_UniformConstant_type_buffer_image_22 = OpTypePointer UniformConstant %type_buffer_image_22 |
| 77 | +// CHECK: %type_buffer_image_21 = OpTypeImage %float Buffer 2 0 0 2 Unknown |
| 78 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_21 = OpTypePointer UniformConstant %type_buffer_image_21 |
| 79 | +// CHECK: %type_buffer_image_22 = OpTypeImage %float Buffer 2 0 0 2 Rgba32f |
| 80 | +// CHECK: %_ptr_UniformConstant_type_buffer_image_22 = OpTypePointer UniformConstant %type_buffer_image_22 |
96 | 81 | RWBuffer<float3> float3rwbuf; |
97 | 82 | RWBuffer<float4> float4rwbuf; |
98 | 83 |
|
99 | | -// INFER: %intbuf = OpVariable %_ptr_UniformConstant_type_buffer_image UniformConstant |
100 | | -// INFER: %uintbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_0 UniformConstant |
101 | | -// INFER: %floatbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_1 UniformConstant |
102 | | -// INFER: %intrwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_2 UniformConstant |
103 | | -// INFER: %uintrwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_3 UniformConstant |
104 | | -// INFER: %floatrwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_4 UniformConstant |
105 | | -// INFER: %int2buf = OpVariable %_ptr_UniformConstant_type_buffer_image_5 UniformConstant |
106 | | -// INFER: %uint2buf = OpVariable %_ptr_UniformConstant_type_buffer_image_6 UniformConstant |
107 | | -// INFER: %float2buf = OpVariable %_ptr_UniformConstant_type_buffer_image_7 UniformConstant |
108 | | -// INFER: %int2rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_8 UniformConstant |
109 | | -// INFER: %uint2rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_9 UniformConstant |
110 | | -// INFER: %float2rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_10 UniformConstant |
111 | | -// INFER: %int3buf = OpVariable %_ptr_UniformConstant_type_buffer_image_11 UniformConstant |
112 | | -// INFER: %int4buf = OpVariable %_ptr_UniformConstant_type_buffer_image_12 UniformConstant |
113 | | -// INFER: %uint3buf = OpVariable %_ptr_UniformConstant_type_buffer_image_13 UniformConstant |
114 | | -// INFER: %uint4buf = OpVariable %_ptr_UniformConstant_type_buffer_image_14 UniformConstant |
115 | | -// INFER: %float3buf = OpVariable %_ptr_UniformConstant_type_buffer_image_15 UniformConstant |
116 | | -// INFER: %float4buf = OpVariable %_ptr_UniformConstant_type_buffer_image_16 UniformConstant |
117 | | -// INFER: %int3rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_17 UniformConstant |
118 | | -// INFER: %int4rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_18 UniformConstant |
119 | | -// INFER: %uint3rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_19 UniformConstant |
120 | | -// INFER: %uint4rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_20 UniformConstant |
121 | | -// INFER: %float3rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_21 UniformConstant |
122 | | -// INFER: %float4rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_22 UniformConstant |
123 | | - |
124 | | -// UNKNOWN: %intbuf = OpVariable %_ptr_UniformConstant_type_buffer_image UniformConstant |
125 | | -// UNKNOWN: %uintbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_0 UniformConstant |
126 | | -// UNKNOWN: %floatbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_1 UniformConstant |
127 | | -// UNKNOWN: %intrwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_2 UniformConstant |
128 | | -// UNKNOWN: %uintrwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_3 UniformConstant |
129 | | -// UNKNOWN: %floatrwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_4 UniformConstant |
130 | | -// UNKNOWN: %int2buf = OpVariable %_ptr_UniformConstant_type_buffer_image UniformConstant |
131 | | -// UNKNOWN: %uint2buf = OpVariable %_ptr_UniformConstant_type_buffer_image_0 UniformConstant |
132 | | -// UNKNOWN: %float2buf = OpVariable %_ptr_UniformConstant_type_buffer_image_1 UniformConstant |
133 | | -// UNKNOWN: %int2rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_2 UniformConstant |
134 | | -// UNKNOWN: %uint2rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_3 UniformConstant |
135 | | -// UNKNOWN: %float2rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_4 UniformConstant |
136 | | -// UNKNOWN: %int3buf = OpVariable %_ptr_UniformConstant_type_buffer_image UniformConstant |
137 | | -// UNKNOWN: %int4buf = OpVariable %_ptr_UniformConstant_type_buffer_image UniformConstant |
138 | | -// UNKNOWN: %uint3buf = OpVariable %_ptr_UniformConstant_type_buffer_image_0 UniformConstant |
139 | | -// UNKNOWN: %uint4buf = OpVariable %_ptr_UniformConstant_type_buffer_image_0 UniformConstant |
140 | | -// UNKNOWN: %float3buf = OpVariable %_ptr_UniformConstant_type_buffer_image_1 UniformConstant |
141 | | -// UNKNOWN: %float4buf = OpVariable %_ptr_UniformConstant_type_buffer_image_1 UniformConstant |
142 | | -// UNKNOWN: %int3rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_2 UniformConstant |
143 | | -// UNKNOWN: %int4rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_2 UniformConstant |
144 | | -// UNKNOWN: %uint3rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_3 UniformConstant |
145 | | -// UNKNOWN: %uint4rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_3 UniformConstant |
146 | | -// UNKNOWN: %float3rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_4 UniformConstant |
147 | | -// UNKNOWN: %float4rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_4 UniformConstant |
| 84 | +// CHECK: %intbuf = OpVariable %_ptr_UniformConstant_type_buffer_image UniformConstant |
| 85 | +// CHECK: %uintbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_0 UniformConstant |
| 86 | +// CHECK: %floatbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_1 UniformConstant |
| 87 | +// CHECK: %intrwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_2 UniformConstant |
| 88 | +// CHECK: %uintrwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_3 UniformConstant |
| 89 | +// CHECK: %floatrwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_4 UniformConstant |
| 90 | +// CHECK: %int2buf = OpVariable %_ptr_UniformConstant_type_buffer_image_5 UniformConstant |
| 91 | +// CHECK: %uint2buf = OpVariable %_ptr_UniformConstant_type_buffer_image_6 UniformConstant |
| 92 | +// CHECK: %float2buf = OpVariable %_ptr_UniformConstant_type_buffer_image_7 UniformConstant |
| 93 | +// CHECK: %int2rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_8 UniformConstant |
| 94 | +// CHECK: %uint2rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_9 UniformConstant |
| 95 | +// CHECK: %float2rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_10 UniformConstant |
| 96 | +// CHECK: %int3buf = OpVariable %_ptr_UniformConstant_type_buffer_image_11 UniformConstant |
| 97 | +// CHECK: %int4buf = OpVariable %_ptr_UniformConstant_type_buffer_image_12 UniformConstant |
| 98 | +// CHECK: %uint3buf = OpVariable %_ptr_UniformConstant_type_buffer_image_13 UniformConstant |
| 99 | +// CHECK: %uint4buf = OpVariable %_ptr_UniformConstant_type_buffer_image_14 UniformConstant |
| 100 | +// CHECK: %float3buf = OpVariable %_ptr_UniformConstant_type_buffer_image_15 UniformConstant |
| 101 | +// CHECK: %float4buf = OpVariable %_ptr_UniformConstant_type_buffer_image_16 UniformConstant |
| 102 | +// CHECK: %int3rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_17 UniformConstant |
| 103 | +// CHECK: %int4rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_18 UniformConstant |
| 104 | +// CHECK: %uint3rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_19 UniformConstant |
| 105 | +// CHECK: %uint4rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_20 UniformConstant |
| 106 | +// CHECK: %float3rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_21 UniformConstant |
| 107 | +// CHECK: %float4rwbuf = OpVariable %_ptr_UniformConstant_type_buffer_image_22 UniformConstant |
148 | 108 |
|
149 | 109 | void main() {} |
0 commit comments