1 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=gfx1010
%s
2>&1 | FileCheck
--check-prefixes
=NOGFX10
--implicit-check-
not=error
: %s
3 image_atomic_add v5
, v1
, s
[8:15] dmask
:0x1 unorm glc
4 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
6 image_atomic_and v5
, v1
, s
[8:15] dmask
:0x1 unorm glc
7 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
9 image_atomic_cmpswap v
[5:6], v1
, s
[8:15] dmask
:0x3 unorm glc
10 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
12 image_atomic_dec v5
, v1
, s
[8:15] dmask
:0x1 unorm glc
13 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
15 image_atomic_fcmpswap v
[1:2], v2
, s
[12:19] dmask
:0x3 unorm glc
16 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
18 image_atomic_fmax v4
, v32
, s
[96:103] dmask
:0x1 glc
19 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
21 image_atomic_fmin v4
, v32
, s
[96:103] dmask
:0x1 glc
22 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
24 image_atomic_inc v5
, v1
, s
[8:15] dmask
:0x1 unorm
25 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
27 image_atomic_or v5
, v1
, s
[8:15] dmask
:0x1 unorm
28 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
30 image_atomic_smax v5
, v1
, s
[8:15] dmask
:0x1 unorm
31 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
33 image_atomic_smin v5
, v1
, s
[8:15] dmask
:0x1 unorm
34 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
36 image_atomic_sub v5
, v1
, s
[8:15] dmask
:0x1 unorm
37 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
39 image_atomic_swap v5
, v1
, s
[8:15] dmask
:0x1 unorm
40 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
42 image_atomic_umax v5
, v1
, s
[8:15] dmask
:0x1 unorm
43 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
45 image_atomic_umin v5
, v1
, s
[8:15] dmask
:0x1 unorm
46 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
48 image_atomic_xor v5
, v1
, s
[8:15] dmask
:0x1 unorm
49 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
51 image_gather4 v
[5:8], v
[1:2], s
[8:15], s
[12:15] dmask
:0x1 unorm
52 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
54 image_gather4_b v
[5:8], v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
55 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
57 image_gather4_b_cl v
[5:8], v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
58 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
60 image_gather4_b_cl_o v
[5:8], v
[1:8], s
[8:15], s
[12:15] dmask
:0x1 unorm
61 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
63 image_gather4_b_o v
[5:8], v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
64 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
66 image_gather4_c v
[5:8], v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
67 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
69 image_gather4_c_b v
[5:8], v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
70 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
72 image_gather4_c_b_cl v
[5:8], v
[1:8], s
[8:15], s
[12:15] dmask
:0x1 unorm
73 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
75 image_gather4_c_b_cl_o v
[5:8], v
[1:8], s
[8:15], s
[12:15] dmask
:0x1 unorm
76 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
78 image_gather4_c_b_o v
[5:8], v
[1:8], s
[8:15], s
[12:15] dmask
:0x1 unorm
79 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
81 image_gather4_c_cl v
[5:8], v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
82 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
84 image_gather4_c_cl_o v
[5:8], v
[1:8], s
[8:15], s
[12:15] dmask
:0x1 unorm
85 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
87 image_gather4_c_l v
[5:8], v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
88 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
90 image_gather4_cl v
[5:8], v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
91 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
93 image_gather4_c_l_o v
[5:8], v
[1:8], s
[8:15], s
[12:15] dmask
:0x1 unorm
94 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
96 image_gather4_cl_o v
[5:8], v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
97 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
99 image_gather4_c_lz v
[5:8], v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
100 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
102 image_gather4_c_lz_o v
[5:8], v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
103 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
105 image_gather4_c_o v
[5:8], v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
106 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
108 image_gather4h v
[254:255], v
[254:255], ttmp
[8:15], ttmp
[12:15] dmask
:0x4 unorm
109 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
111 image_gather4_l v
[5:8], v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
112 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
114 image_gather4_l_o v
[5:8], v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
115 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
117 image_gather4_lz v
[5:8], v
[1:2], s
[8:15], s
[12:15] dmask
:0x1 unorm
118 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
120 image_gather4_lz_o v
[5:8], v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
121 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
123 image_gather4_o v
[5:8], v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
124 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
126 image_get_lod v5
, v1
, s
[8:15], s
[12:15] dmask
:0x1 unorm
127 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
129 image_get_resinfo v5
, v1
, s
[8:15] dmask
:0x1 unorm
130 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
132 image_load v
[0:3], v0
, s
[0:7] dmask
:0xf unorm
133 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
135 image_load_mip v
[5:6], v1
, s
[8:15] dmask
:0x3 a16
136 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
138 image_load_pck v
[5:6], v1
, s
[8:15] dmask
:0x1 tfe
139 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
141 image_load_pck_sgn v5
, v1
, s
[8:15] dmask
:0x1 unorm
142 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
144 image_load_mip_pck v5
, v
[1:2], s
[8:15] dmask
:0x1 unorm
145 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
147 image_load_mip_pck_sgn v5
, v
[1:2], s
[8:15] dmask
:0x1 unorm
148 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
150 image_sample v
[5:6], v1
, s
[8:15], s
[12:15] dmask
:0x1 tfe
151 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
153 image_sample_b v5
, v
[1:2], s
[8:15], s
[12:15] dmask
:0x1 unorm
154 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
156 image_sample_b_cl v5
, v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
157 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
159 image_sample_b_cl_o v5
, v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
160 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
162 image_sample_b_o v5
, v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
163 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
165 image_sample_c v5
, v
[1:2], s
[8:15], s
[12:15] dmask
:0x1 unorm
166 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
168 image_sample_c_b v5
, v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
169 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
171 image_sample_c_b_cl v5
, v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
172 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
174 image_sample_c_b_cl_o v5
, v
[1:8], s
[8:15], s
[12:15] dmask
:0x1 unorm
175 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
177 image_sample_c_b_o v5
, v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
178 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
180 image_sample_c_cd v5
, v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
181 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
183 image_sample_c_cd_cl v5
, v
[1:8], s
[8:15], s
[12:15] dmask
:0x1 unorm
184 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
186 image_sample_c_cd_cl_g16 v
[0:3], v
[0:4], s
[0:7], s
[8:11] dmask
:0xf
187 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
189 image_sample_c_cd_cl_o v5
, v
[1:8], s
[8:15], s
[12:15] dmask
:0x1 unorm
190 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
192 image_sample_c_cd_cl_o_g16 v
[5:6], v
[1:6], s
[8:15], s
[12:15] dmask
:0x3
193 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
195 image_sample_c_cd_g16 v
[5:6], v
[1:4], s
[8:15], s
[12:15] dmask
:0x3
196 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
198 image_sample_c_cd_o v5
, v
[1:8], s
[8:15], s
[12:15] dmask
:0x1 unorm
199 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
201 image_sample_c_cd_o_g16 v
[5:6], v
[1:5], s
[8:15], s
[12:15] dmask
:0x3
202 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
204 image_sample_c_cl v5
, v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
205 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
207 image_sample_c_cl_o v5
, v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
208 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
210 image_sample_c_d v5
, v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
211 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
213 image_sample_cd v5
, v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
214 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
216 image_sample_c_d_cl v5
, v
[1:8], s
[8:15], s
[12:15] dmask
:0x1 unorm
217 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
219 image_sample_cd_cl v5
, v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
220 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
222 image_sample_c_d_cl_g16 v
[0:3], v
[0:4], s
[0:7], s
[8:11] dmask
:0xf
223 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
225 image_sample_cd_cl_g16 v
[0:3], v
[0:3], s
[0:7], s
[8:11] dmask
:0xf
226 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
228 image_sample_c_d_cl_o v5
, v
[1:8], s
[8:15], s
[12:15] dmask
:0x1 unorm
229 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
231 image_sample_cd_cl_o v5
, v
[1:8], s
[8:15], s
[12:15] dmask
:0x1 unorm
232 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
234 image_sample_c_d_cl_o_g16 v
[5:6], v
[1:6], s
[8:15], s
[12:15] dmask
:0x3
235 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
237 image_sample_cd_cl_o_g16 v
[5:6], v
[1:5], s
[8:15], s
[12:15] dmask
:0x3
238 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
240 image_sample_c_d_g16 v
[0:3], v
[0:3], s
[0:7], s
[8:11] dmask
:0xf
241 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
243 image_sample_cd_g16 v
[0:3], v
[0:2], s
[0:7], s
[8:11] dmask
:0xf
244 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
246 image_sample_c_d_o v5
, v
[1:8], s
[8:15], s
[12:15] dmask
:0x1 unorm
247 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
249 image_sample_cd_o v5
, v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
250 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
252 image_sample_c_d_o_g16 v0
, [v0
, v1
, v2
, v4
, v6
, v7
, v8
], s
[0:7], s
[8:11] dmask
:0x4
253 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
255 image_sample_cd_o_g16 v
[5:6], v
[1:4], s
[8:15], s
[12:15] dmask
:0x3
256 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
258 image_sample_c_l v5
, v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
259 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
261 image_sample_cl v5
, v
[1:2], s
[8:15], s
[12:15] dmask
:0x1 unorm
262 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
264 image_sample_c_l_o v5
, v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
265 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
267 image_sample_cl_o v5
, v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
268 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
270 image_sample_c_lz v5
, v
[1:2], s
[8:15], s
[12:15] dmask
:0x1 unorm
271 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
273 image_sample_c_lz_o v5
, v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
274 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
276 image_sample_c_o v5
, v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
277 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
279 image_sample_d v5
, v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
280 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
282 image_sample_d_cl v5
, v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
283 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
285 image_sample_d_cl_g16 v
[0:3], v
[0:3], s
[0:7], s
[8:11] dmask
:0xf
286 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
288 image_sample_d_cl_o v5
, v
[1:8], s
[8:15], s
[12:15] dmask
:0x1 unorm
289 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
291 image_sample_d_cl_o_g16 v
[5:6], v
[1:5], s
[8:15], s
[12:15] dmask
:0x3
292 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
294 image_sample_d_g16 v
[0:3], v
[0:2], s
[0:7], s
[8:11] dmask
:0xf
295 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
297 image_sample_d_o v5
, v
[1:4], s
[8:15], s
[12:15] dmask
:0x1 unorm
298 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
300 image_sample_d_o_g16 v
[5:6], v
[1:4], s
[8:15], s
[12:15] dmask
:0x3
301 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
303 image_sample_l v5
, v
[1:2], s
[8:15], s
[12:15] dmask
:0x1 unorm
304 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
306 image_sample_l_o v5
, v
[1:3], s
[8:15], s
[12:15] dmask
:0x1 unorm
307 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
309 image_sample_lz v5
, v1
, s
[8:15], s
[12:15] dmask
:0x1 unorm
310 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
312 image_sample_lz_o v5
, v
[1:2], s
[8:15], s
[12:15] dmask
:0x1 unorm
313 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
315 image_sample_o v5
, v
[1:2], s
[8:15], s
[12:15] dmask
:0x1 unorm
316 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
318 image_store v1
, v2
, s
[12:19] dmask
:0x0 unorm
319 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
321 image_store_mip v1
, v
[2:3], s
[12:19] dmask
:0x0 unorm
322 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
324 image_store_pck v1
, v
[2:3], s
[12:19] dmask
:0x1 unorm
325 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
327 image_store_mip_pck v1
, v
[2:3], s
[12:19] dmask
:0x0 unorm
328 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: missing dim operand
330 image_load v
[0:3], v0
, s
[0:7] dmask
:0xf dim
:SQ_RSRC_IMG_1D da
331 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
333 image_load_pck v
[0:3], v0
, s
[0:7] dmask
:0xf dim
:SQ_RSRC_IMG_1D d16
334 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
336 image_load v
[0:1], v0
, s
[0:7] dmask
:0xf dim
:SQ_RSRC_IMG_1D
337 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: image data size does
not match dmask
, d16
and tfe
339 image_load v
[0:3], v
[0:1], s
[0:7] dmask
:0xf dim
:SQ_RSRC_IMG_1D
340 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: image address size does
not match dim
and a16
342 image_load_mip v
[0:3], v
[0:2], s
[0:7] dmask
:0xf dim
:SQ_RSRC_IMG_CUBE
343 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: image address size does
not match dim
and a16
345 image_sample_d v
[0:3], [v0
, v1
, v2
, v3
, v4
], s
[0:7], s
[8:11] dmask
:0xf dim
:SQ_RSRC_IMG_1D_ARRAY
346 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: image address size does
not match dim
and a16
348 image_sample_b_cl v
[0:3], v
[0:3], s
[0:7], s
[8:11] dmask
:0xf dim
:SQ_RSRC_IMG_CUBE
349 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: image address size does
not match dim
and a16
351 image_sample_c_d v
[0:3], [v0
, v1
, v2
, v3
, v4
, v5
, v6
], s
[0:7], s
[8:11] dmask
:0xf dim
:SQ_RSRC_IMG_2D_ARRAY
352 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: image address size does
not match dim
and a16
354 image_sample_c_d_cl v
[0:3], [v0
, v1
, v2
, v3
, v4
, v5
, v6
, v7
], s
[0:7], s
[8:11] dmask
:0xf dim
:SQ_RSRC_IMG_2D_ARRAY
355 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: image address size does
not match dim
and a16
357 image_sample_c_d_cl_o v
[0:3], v
[0:7], s
[0:7], s
[8:11] dmask
:0xf dim
:SQ_RSRC_IMG_2D
358 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: image address size does
not match dim
and a16
360 image_load v
[0:1], v0
, s
[0:7] dmask
:0x9 dim
:1 D
361 // NOGFX10
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid dim value