1spv.sparseTexture.frag
2// Module Version 10000
3// Generated by (magic number): 80007
4// Id's are bound by 438
5
6                              Capability Shader
7                              Capability ImageGatherExtended
8                              Capability StorageImageMultisample
9                              Capability SampledRect
10                              Capability SparseResidency
11                              Capability SampledCubeArray
12               1:             ExtInstImport  "GLSL.std.450"
13                              MemoryModel Logical GLSL450
14                              EntryPoint Fragment 4  "main" 33 48 89 365 393 405 423
15                              ExecutionMode 4 OriginUpperLeft
16                              Source GLSL 450
17                              SourceExtension  "GL_ARB_sparse_texture2"
18                              Name 4  "main"
19                              Name 8  "resident"
20                              Name 13  "texel"
21                              Name 18  "itexel"
22                              Name 23  "utexel"
23                              Name 29  "s2D"
24                              Name 33  "c2"
25                              Name 35  "ResType"
26                              Name 44  "s3D"
27                              Name 48  "c3"
28                              Name 59  "isCube"
29                              Name 62  "ResType"
30                              Name 71  "s2DShadow"
31                              Name 77  "ResType"
32                              Name 86  "sCubeArrayShadow"
33                              Name 89  "c4"
34                              Name 108  "usCubeArray"
35                              Name 111  "ResType"
36                              Name 140  "us2DRect"
37                              Name 154  "s2DArrayShadow"
38                              Name 188  "s2DMS"
39                              Name 228  "is2DArray"
40                              Name 261  "sCubeShadow"
41                              Name 294  "s2DRectShadow"
42                              Name 365  "offsets"
43                              Name 390  "i2D"
44                              Name 393  "ic2"
45                              Name 402  "ii3D"
46                              Name 405  "ic3"
47                              Name 414  "i2DMS"
48                              Name 423  "outColor"
49                              Decorate 29(s2D) DescriptorSet 0
50                              Decorate 44(s3D) DescriptorSet 0
51                              Decorate 59(isCube) DescriptorSet 0
52                              Decorate 71(s2DShadow) DescriptorSet 0
53                              Decorate 86(sCubeArrayShadow) DescriptorSet 0
54                              Decorate 108(usCubeArray) DescriptorSet 0
55                              Decorate 140(us2DRect) DescriptorSet 0
56                              Decorate 154(s2DArrayShadow) DescriptorSet 0
57                              Decorate 188(s2DMS) DescriptorSet 0
58                              Decorate 228(is2DArray) DescriptorSet 0
59                              Decorate 261(sCubeShadow) DescriptorSet 0
60                              Decorate 294(s2DRectShadow) DescriptorSet 0
61                              Decorate 365(offsets) Flat
62                              Decorate 390(i2D) DescriptorSet 0
63                              Decorate 393(ic2) Flat
64                              Decorate 402(ii3D) DescriptorSet 0
65                              Decorate 405(ic3) Flat
66                              Decorate 414(i2DMS) DescriptorSet 0
67               2:             TypeVoid
68               3:             TypeFunction 2
69               6:             TypeInt 32 1
70               7:             TypePointer Function 6(int)
71               9:      6(int) Constant 0
72              10:             TypeFloat 32
73              11:             TypeVector 10(float) 4
74              12:             TypePointer Function 11(fvec4)
75              14:   10(float) Constant 0
76              15:   11(fvec4) ConstantComposite 14 14 14 14
77              16:             TypeVector 6(int) 4
78              17:             TypePointer Function 16(ivec4)
79              19:   16(ivec4) ConstantComposite 9 9 9 9
80              20:             TypeInt 32 0
81              21:             TypeVector 20(int) 4
82              22:             TypePointer Function 21(ivec4)
83              24:     20(int) Constant 0
84              25:   21(ivec4) ConstantComposite 24 24 24 24
85              26:             TypeImage 10(float) 2D sampled format:Unknown
86              27:             TypeSampledImage 26
87              28:             TypePointer UniformConstant 27
88         29(s2D):     28(ptr) Variable UniformConstant
89              31:             TypeVector 10(float) 2
90              32:             TypePointer Input 31(fvec2)
91          33(c2):     32(ptr) Variable Input
92     35(ResType):             TypeStruct 6(int) 11(fvec4)
93              41:             TypeImage 10(float) 3D sampled format:Unknown
94              42:             TypeSampledImage 41
95              43:             TypePointer UniformConstant 42
96         44(s3D):     43(ptr) Variable UniformConstant
97              46:             TypeVector 10(float) 3
98              47:             TypePointer Input 46(fvec3)
99          48(c3):     47(ptr) Variable Input
100              50:   10(float) Constant 1073741824
101              56:             TypeImage 6(int) Cube sampled format:Unknown
102              57:             TypeSampledImage 56
103              58:             TypePointer UniformConstant 57
104      59(isCube):     58(ptr) Variable UniformConstant
105     62(ResType):             TypeStruct 6(int) 16(ivec4)
106              68:             TypeImage 10(float) 2D depth sampled format:Unknown
107              69:             TypeSampledImage 68
108              70:             TypePointer UniformConstant 69
109   71(s2DShadow):     70(ptr) Variable UniformConstant
110              74:             TypePointer Function 10(float)
111     77(ResType):             TypeStruct 6(int) 10(float)
112              83:             TypeImage 10(float) Cube depth array sampled format:Unknown
113              84:             TypeSampledImage 83
114              85:             TypePointer UniformConstant 84
11586(sCubeArrayShadow):     85(ptr) Variable UniformConstant
116              88:             TypePointer Input 11(fvec4)
117          89(c4):     88(ptr) Variable Input
118              91:   10(float) Constant 1065353216
119             105:             TypeImage 20(int) Cube array sampled format:Unknown
120             106:             TypeSampledImage 105
121             107:             TypePointer UniformConstant 106
122108(usCubeArray):    107(ptr) Variable UniformConstant
123    111(ResType):             TypeStruct 6(int) 21(ivec4)
124             119:     20(int) Constant 1
125             129:             TypeVector 6(int) 3
126             130:      6(int) Constant 2
127             131:  129(ivec3) ConstantComposite 130 130 130
128             137:             TypeImage 20(int) Rect sampled format:Unknown
129             138:             TypeSampledImage 137
130             139:             TypePointer UniformConstant 138
131   140(us2DRect):    139(ptr) Variable UniformConstant
132             143:             TypeVector 6(int) 2
133             144:      6(int) Constant 3
134             145:  143(ivec2) ConstantComposite 144 144
135             151:             TypeImage 10(float) 2D depth array sampled format:Unknown
136             152:             TypeSampledImage 151
137             153:             TypePointer UniformConstant 152
138154(s2DArrayShadow):    153(ptr) Variable UniformConstant
139             157:      6(int) Constant 5
140             158:  143(ivec2) ConstantComposite 157 157
141             159:     20(int) Constant 2
142             185:             TypeImage 10(float) 2D multi-sampled sampled format:Unknown
143             186:             TypeSampledImage 185
144             187:             TypePointer UniformConstant 186
145      188(s2DMS):    187(ptr) Variable UniformConstant
146             192:      6(int) Constant 4
147             202:  129(ivec3) ConstantComposite 192 192 192
148             225:             TypeImage 6(int) 2D array sampled format:Unknown
149             226:             TypeSampledImage 225
150             227:             TypePointer UniformConstant 226
151  228(is2DArray):    227(ptr) Variable UniformConstant
152             231:      6(int) Constant 6
153             232:  143(ivec2) ConstantComposite 231 231
154             240:      6(int) Constant 7
155             241:  143(ivec2) ConstantComposite 240 240
156             258:             TypeImage 10(float) Cube depth sampled format:Unknown
157             259:             TypeSampledImage 258
158             260:             TypePointer UniformConstant 259
159261(sCubeShadow):    260(ptr) Variable UniformConstant
160             291:             TypeImage 10(float) Rect depth sampled format:Unknown
161             292:             TypeSampledImage 291
162             293:             TypePointer UniformConstant 292
163294(s2DRectShadow):    293(ptr) Variable UniformConstant
164             299:     20(int) Constant 3
165             311:  143(ivec2) ConstantComposite 130 130
166             340:  143(ivec2) ConstantComposite 192 192
167             362:     20(int) Constant 4
168             363:             TypeArray 143(ivec2) 362
169             364:             TypePointer Input 363
170    365(offsets):    364(ptr) Variable Input
171             388:             TypeImage 10(float) 2D nonsampled format:Rgba32f
172             389:             TypePointer UniformConstant 388
173        390(i2D):    389(ptr) Variable UniformConstant
174             392:             TypePointer Input 143(ivec2)
175        393(ic2):    392(ptr) Variable Input
176             400:             TypeImage 6(int) 3D nonsampled format:Rgba32i
177             401:             TypePointer UniformConstant 400
178       402(ii3D):    401(ptr) Variable UniformConstant
179             404:             TypePointer Input 129(ivec3)
180        405(ic3):    404(ptr) Variable Input
181             412:             TypeImage 10(float) 2D multi-sampled nonsampled format:Rgba32f
182             413:             TypePointer UniformConstant 412
183      414(i2DMS):    413(ptr) Variable UniformConstant
184             422:             TypePointer Output 11(fvec4)
185   423(outColor):    422(ptr) Variable Output
186             425:             TypeBool
187         4(main):           2 Function None 3
188               5:             Label
189     8(resident):      7(ptr) Variable Function
190       13(texel):     12(ptr) Variable Function
191      18(itexel):     17(ptr) Variable Function
192      23(utexel):     22(ptr) Variable Function
193             427:     12(ptr) Variable Function
194                              Store 8(resident) 9
195                              Store 13(texel) 15
196                              Store 18(itexel) 19
197                              Store 23(utexel) 25
198              30:          27 Load 29(s2D)
199              34:   31(fvec2) Load 33(c2)
200              36: 35(ResType) ImageSparseSampleImplicitLod 30 34
201              37:   11(fvec4) CompositeExtract 36 1
202                              Store 13(texel) 37
203              38:      6(int) CompositeExtract 36 0
204              39:      6(int) Load 8(resident)
205              40:      6(int) BitwiseOr 39 38
206                              Store 8(resident) 40
207              45:          42 Load 44(s3D)
208              49:   46(fvec3) Load 48(c3)
209              51: 35(ResType) ImageSparseSampleImplicitLod 45 49 Bias 50
210              52:   11(fvec4) CompositeExtract 51 1
211                              Store 13(texel) 52
212              53:      6(int) CompositeExtract 51 0
213              54:      6(int) Load 8(resident)
214              55:      6(int) BitwiseOr 54 53
215                              Store 8(resident) 55
216              60:          57 Load 59(isCube)
217              61:   46(fvec3) Load 48(c3)
218              63: 62(ResType) ImageSparseSampleImplicitLod 60 61
219              64:   16(ivec4) CompositeExtract 63 1
220                              Store 18(itexel) 64
221              65:      6(int) CompositeExtract 63 0
222              66:      6(int) Load 8(resident)
223              67:      6(int) BitwiseOr 66 65
224                              Store 8(resident) 67
225              72:          69 Load 71(s2DShadow)
226              73:   46(fvec3) Load 48(c3)
227              75:     74(ptr) AccessChain 13(texel) 24
228              76:   10(float) CompositeExtract 73 2
229              78: 77(ResType) ImageSparseSampleDrefImplicitLod 72 73 76
230              79:   10(float) CompositeExtract 78 1
231                              Store 75 79
232              80:      6(int) CompositeExtract 78 0
233              81:      6(int) Load 8(resident)
234              82:      6(int) BitwiseOr 81 80
235                              Store 8(resident) 82
236              87:          84 Load 86(sCubeArrayShadow)
237              90:   11(fvec4) Load 89(c4)
238              92:     74(ptr) AccessChain 13(texel) 24
239              93: 77(ResType) ImageSparseSampleDrefImplicitLod 87 90 91
240              94:   10(float) CompositeExtract 93 1
241                              Store 92 94
242              95:      6(int) CompositeExtract 93 0
243              96:      6(int) Load 8(resident)
244              97:      6(int) BitwiseOr 96 95
245                              Store 8(resident) 97
246              98:          27 Load 29(s2D)
247              99:   31(fvec2) Load 33(c2)
248             100: 35(ResType) ImageSparseSampleExplicitLod 98 99 Lod 50
249             101:   11(fvec4) CompositeExtract 100 1
250                              Store 13(texel) 101
251             102:      6(int) CompositeExtract 100 0
252             103:      6(int) Load 8(resident)
253             104:      6(int) BitwiseOr 103 102
254                              Store 8(resident) 104
255             109:         106 Load 108(usCubeArray)
256             110:   11(fvec4) Load 89(c4)
257             112:111(ResType) ImageSparseSampleExplicitLod 109 110 Lod 91
258             113:   21(ivec4) CompositeExtract 112 1
259                              Store 23(utexel) 113
260             114:      6(int) CompositeExtract 112 0
261             115:      6(int) Load 8(resident)
262             116:      6(int) BitwiseOr 115 114
263                              Store 8(resident) 116
264             117:          69 Load 71(s2DShadow)
265             118:   46(fvec3) Load 48(c3)
266             120:     74(ptr) AccessChain 13(texel) 119
267             121:   10(float) CompositeExtract 118 2
268             122: 77(ResType) ImageSparseSampleDrefExplicitLod 117 118 121 Lod 50
269             123:   10(float) CompositeExtract 122 1
270                              Store 120 123
271             124:      6(int) CompositeExtract 122 0
272             125:      6(int) Load 8(resident)
273             126:      6(int) BitwiseOr 125 124
274                              Store 8(resident) 126
275             127:          42 Load 44(s3D)
276             128:   46(fvec3) Load 48(c3)
277             132: 35(ResType) ImageSparseSampleImplicitLod 127 128 Bias ConstOffset 50 131
278             133:   11(fvec4) CompositeExtract 132 1
279                              Store 13(texel) 133
280             134:      6(int) CompositeExtract 132 0
281             135:      6(int) Load 8(resident)
282             136:      6(int) BitwiseOr 135 134
283                              Store 8(resident) 136
284             141:         138 Load 140(us2DRect)
285             142:   31(fvec2) Load 33(c2)
286             146:111(ResType) ImageSparseSampleImplicitLod 141 142 ConstOffset 145
287             147:   21(ivec4) CompositeExtract 146 1
288                              Store 23(utexel) 147
289             148:      6(int) CompositeExtract 146 0
290             149:      6(int) Load 8(resident)
291             150:      6(int) BitwiseOr 149 148
292                              Store 8(resident) 150
293             155:         152 Load 154(s2DArrayShadow)
294             156:   11(fvec4) Load 89(c4)
295             160:     74(ptr) AccessChain 13(texel) 159
296             161:   10(float) CompositeExtract 156 3
297             162: 77(ResType) ImageSparseSampleDrefImplicitLod 155 156 161 ConstOffset 158
298             163:   10(float) CompositeExtract 162 1
299                              Store 160 163
300             164:      6(int) CompositeExtract 162 0
301             165:      6(int) Load 8(resident)
302             166:      6(int) BitwiseOr 165 164
303                              Store 8(resident) 166
304             167:          27 Load 29(s2D)
305             168:   31(fvec2) Load 33(c2)
306             169:  143(ivec2) ConvertFToS 168
307             170:          26 Image 167
308             171: 35(ResType) ImageSparseFetch 170 169 Lod 130
309             172:   11(fvec4) CompositeExtract 171 1
310                              Store 13(texel) 172
311             173:      6(int) CompositeExtract 171 0
312             174:      6(int) Load 8(resident)
313             175:      6(int) BitwiseOr 174 173
314                              Store 8(resident) 175
315             176:         138 Load 140(us2DRect)
316             177:   31(fvec2) Load 33(c2)
317             178:  143(ivec2) ConvertFToS 177
318             179:         137 Image 176
319             180:111(ResType) ImageSparseFetch 179 178
320             181:   21(ivec4) CompositeExtract 180 1
321                              Store 23(utexel) 181
322             182:      6(int) CompositeExtract 180 0
323             183:      6(int) Load 8(resident)
324             184:      6(int) BitwiseOr 183 182
325                              Store 8(resident) 184
326             189:         186 Load 188(s2DMS)
327             190:   31(fvec2) Load 33(c2)
328             191:  143(ivec2) ConvertFToS 190
329             193:         185 Image 189
330             194: 35(ResType) ImageSparseFetch 193 191 Sample 192
331             195:   11(fvec4) CompositeExtract 194 1
332                              Store 13(texel) 195
333             196:      6(int) CompositeExtract 194 0
334             197:      6(int) Load 8(resident)
335             198:      6(int) BitwiseOr 197 196
336                              Store 8(resident) 198
337             199:          42 Load 44(s3D)
338             200:   46(fvec3) Load 48(c3)
339             201:  129(ivec3) ConvertFToS 200
340             203:          41 Image 199
341             204: 35(ResType) ImageSparseFetch 203 201 Lod ConstOffset 130 202
342             205:   11(fvec4) CompositeExtract 204 1
343                              Store 13(texel) 205
344             206:      6(int) CompositeExtract 204 0
345             207:      6(int) Load 8(resident)
346             208:      6(int) BitwiseOr 207 206
347                              Store 8(resident) 208
348             209:         138 Load 140(us2DRect)
349             210:   31(fvec2) Load 33(c2)
350             211:  143(ivec2) ConvertFToS 210
351             212:         137 Image 209
352             213:111(ResType) ImageSparseFetch 212 211 ConstOffset 145
353             214:   21(ivec4) CompositeExtract 213 1
354                              Store 23(utexel) 214
355             215:      6(int) CompositeExtract 213 0
356             216:      6(int) Load 8(resident)
357             217:      6(int) BitwiseOr 216 215
358                              Store 8(resident) 217
359             218:          27 Load 29(s2D)
360             219:   31(fvec2) Load 33(c2)
361             220: 35(ResType) ImageSparseSampleExplicitLod 218 219 Lod ConstOffset 50 158
362             221:   11(fvec4) CompositeExtract 220 1
363                              Store 13(texel) 221
364             222:      6(int) CompositeExtract 220 0
365             223:      6(int) Load 8(resident)
366             224:      6(int) BitwiseOr 223 222
367                              Store 8(resident) 224
368             229:         226 Load 228(is2DArray)
369             230:   46(fvec3) Load 48(c3)
370             233: 62(ResType) ImageSparseSampleExplicitLod 229 230 Lod ConstOffset 50 232
371             234:   16(ivec4) CompositeExtract 233 1
372                              Store 18(itexel) 234
373             235:      6(int) CompositeExtract 233 0
374             236:      6(int) Load 8(resident)
375             237:      6(int) BitwiseOr 236 235
376                              Store 8(resident) 237
377             238:          69 Load 71(s2DShadow)
378             239:   46(fvec3) Load 48(c3)
379             242:     74(ptr) AccessChain 13(texel) 159
380             243:   10(float) CompositeExtract 239 2
381             244: 77(ResType) ImageSparseSampleDrefExplicitLod 238 239 243 Lod ConstOffset 50 241
382             245:   10(float) CompositeExtract 244 1
383                              Store 242 245
384             246:      6(int) CompositeExtract 244 0
385             247:      6(int) Load 8(resident)
386             248:      6(int) BitwiseOr 247 246
387                              Store 8(resident) 248
388             249:          42 Load 44(s3D)
389             250:   46(fvec3) Load 48(c3)
390             251:   46(fvec3) Load 48(c3)
391             252:   46(fvec3) Load 48(c3)
392             253: 35(ResType) ImageSparseSampleExplicitLod 249 250 Grad 251 252
393             254:   11(fvec4) CompositeExtract 253 1
394                              Store 13(texel) 254
395             255:      6(int) CompositeExtract 253 0
396             256:      6(int) Load 8(resident)
397             257:      6(int) BitwiseOr 256 255
398                              Store 8(resident) 257
399             262:         259 Load 261(sCubeShadow)
400             263:   11(fvec4) Load 89(c4)
401             264:   46(fvec3) Load 48(c3)
402             265:   46(fvec3) Load 48(c3)
403             266:     74(ptr) AccessChain 13(texel) 119
404             267:   10(float) CompositeExtract 263 3
405             268: 77(ResType) ImageSparseSampleDrefExplicitLod 262 263 267 Grad 264 265
406             269:   10(float) CompositeExtract 268 1
407                              Store 266 269
408             270:      6(int) CompositeExtract 268 0
409             271:      6(int) Load 8(resident)
410             272:      6(int) BitwiseOr 271 270
411                              Store 8(resident) 272
412             273:         106 Load 108(usCubeArray)
413             274:   11(fvec4) Load 89(c4)
414             275:   46(fvec3) Load 48(c3)
415             276:   46(fvec3) Load 48(c3)
416             277:111(ResType) ImageSparseSampleExplicitLod 273 274 Grad 275 276
417             278:   21(ivec4) CompositeExtract 277 1
418                              Store 23(utexel) 278
419             279:      6(int) CompositeExtract 277 0
420             280:      6(int) Load 8(resident)
421             281:      6(int) BitwiseOr 280 279
422                              Store 8(resident) 281
423             282:          27 Load 29(s2D)
424             283:   31(fvec2) Load 33(c2)
425             284:   31(fvec2) Load 33(c2)
426             285:   31(fvec2) Load 33(c2)
427             286: 35(ResType) ImageSparseSampleExplicitLod 282 283 Grad ConstOffset 284 285 158
428             287:   11(fvec4) CompositeExtract 286 1
429                              Store 13(texel) 287
430             288:      6(int) CompositeExtract 286 0
431             289:      6(int) Load 8(resident)
432             290:      6(int) BitwiseOr 289 288
433                              Store 8(resident) 290
434             295:         292 Load 294(s2DRectShadow)
435             296:   46(fvec3) Load 48(c3)
436             297:   31(fvec2) Load 33(c2)
437             298:   31(fvec2) Load 33(c2)
438             300:     74(ptr) AccessChain 13(texel) 299
439             301:   10(float) CompositeExtract 296 2
440             302: 77(ResType) ImageSparseSampleDrefExplicitLod 295 296 301 Grad ConstOffset 297 298 232
441             303:   10(float) CompositeExtract 302 1
442                              Store 300 303
443             304:      6(int) CompositeExtract 302 0
444             305:      6(int) Load 8(resident)
445             306:      6(int) BitwiseOr 305 304
446                              Store 8(resident) 306
447             307:         226 Load 228(is2DArray)
448             308:   46(fvec3) Load 48(c3)
449             309:   31(fvec2) Load 33(c2)
450             310:   31(fvec2) Load 33(c2)
451             312: 62(ResType) ImageSparseSampleExplicitLod 307 308 Grad ConstOffset 309 310 311
452             313:   16(ivec4) CompositeExtract 312 1
453                              Store 18(itexel) 313
454             314:      6(int) CompositeExtract 312 0
455             315:      6(int) Load 8(resident)
456             316:      6(int) BitwiseOr 315 314
457                              Store 8(resident) 316
458             317:          27 Load 29(s2D)
459             318:   31(fvec2) Load 33(c2)
460             319: 35(ResType) ImageSparseGather 317 318 9
461             320:   11(fvec4) CompositeExtract 319 1
462                              Store 13(texel) 320
463             321:      6(int) CompositeExtract 319 0
464             322:      6(int) Load 8(resident)
465             323:      6(int) BitwiseOr 322 321
466                              Store 8(resident) 323
467             324:         226 Load 228(is2DArray)
468             325:   46(fvec3) Load 48(c3)
469             326: 62(ResType) ImageSparseGather 324 325 130
470             327:   16(ivec4) CompositeExtract 326 1
471                              Store 18(itexel) 327
472             328:      6(int) CompositeExtract 326 0
473             329:      6(int) Load 8(resident)
474             330:      6(int) BitwiseOr 329 328
475                              Store 8(resident) 330
476             331:         152 Load 154(s2DArrayShadow)
477             332:   46(fvec3) Load 48(c3)
478             333: 35(ResType) ImageSparseDrefGather 331 332 50
479             334:   11(fvec4) CompositeExtract 333 1
480                              Store 13(texel) 334
481             335:      6(int) CompositeExtract 333 0
482             336:      6(int) Load 8(resident)
483             337:      6(int) BitwiseOr 336 335
484                              Store 8(resident) 337
485             338:          27 Load 29(s2D)
486             339:   31(fvec2) Load 33(c2)
487             341: 35(ResType) ImageSparseGather 338 339 9 ConstOffset 340
488             342:   11(fvec4) CompositeExtract 341 1
489                              Store 13(texel) 342
490             343:      6(int) CompositeExtract 341 0
491             344:      6(int) Load 8(resident)
492             345:      6(int) BitwiseOr 344 343
493                              Store 8(resident) 345
494             346:         226 Load 228(is2DArray)
495             347:   46(fvec3) Load 48(c3)
496             348: 62(ResType) ImageSparseGather 346 347 130 ConstOffset 158
497             349:   16(ivec4) CompositeExtract 348 1
498                              Store 18(itexel) 349
499             350:      6(int) CompositeExtract 348 0
500             351:      6(int) Load 8(resident)
501             352:      6(int) BitwiseOr 351 350
502                              Store 8(resident) 352
503             353:         292 Load 294(s2DRectShadow)
504             354:   31(fvec2) Load 33(c2)
505             355: 35(ResType) ImageSparseDrefGather 353 354 50 ConstOffset 241
506             356:   11(fvec4) CompositeExtract 355 1
507                              Store 13(texel) 356
508             357:      6(int) CompositeExtract 355 0
509             358:      6(int) Load 8(resident)
510             359:      6(int) BitwiseOr 358 357
511                              Store 8(resident) 359
512             360:          27 Load 29(s2D)
513             361:   31(fvec2) Load 33(c2)
514             366:         363 Load 365(offsets)
515             367: 35(ResType) ImageSparseGather 360 361 9 ConstOffsets 366
516             368:   11(fvec4) CompositeExtract 367 1
517                              Store 13(texel) 368
518             369:      6(int) CompositeExtract 367 0
519             370:      6(int) Load 8(resident)
520             371:      6(int) BitwiseOr 370 369
521                              Store 8(resident) 371
522             372:         226 Load 228(is2DArray)
523             373:   46(fvec3) Load 48(c3)
524             374:         363 Load 365(offsets)
525             375: 62(ResType) ImageSparseGather 372 373 130 ConstOffsets 374
526             376:   16(ivec4) CompositeExtract 375 1
527                              Store 18(itexel) 376
528             377:      6(int) CompositeExtract 375 0
529             378:      6(int) Load 8(resident)
530             379:      6(int) BitwiseOr 378 377
531                              Store 8(resident) 379
532             380:         292 Load 294(s2DRectShadow)
533             381:   31(fvec2) Load 33(c2)
534             382:         363 Load 365(offsets)
535             383: 35(ResType) ImageSparseDrefGather 380 381 50 ConstOffsets 382
536             384:   11(fvec4) CompositeExtract 383 1
537                              Store 13(texel) 384
538             385:      6(int) CompositeExtract 383 0
539             386:      6(int) Load 8(resident)
540             387:      6(int) BitwiseOr 386 385
541                              Store 8(resident) 387
542             391:         388 Load 390(i2D)
543             394:  143(ivec2) Load 393(ic2)
544             395: 35(ResType) ImageSparseRead 391 394
545             396:   11(fvec4) CompositeExtract 395 1
546                              Store 13(texel) 396
547             397:      6(int) CompositeExtract 395 0
548             398:      6(int) Load 8(resident)
549             399:      6(int) BitwiseOr 398 397
550                              Store 8(resident) 399
551             403:         400 Load 402(ii3D)
552             406:  129(ivec3) Load 405(ic3)
553             407: 62(ResType) ImageSparseRead 403 406
554             408:   16(ivec4) CompositeExtract 407 1
555                              Store 18(itexel) 408
556             409:      6(int) CompositeExtract 407 0
557             410:      6(int) Load 8(resident)
558             411:      6(int) BitwiseOr 410 409
559                              Store 8(resident) 411
560             415:         412 Load 414(i2DMS)
561             416:  143(ivec2) Load 393(ic2)
562             417: 35(ResType) ImageSparseRead 415 416 Sample 144
563             418:   11(fvec4) CompositeExtract 417 1
564                              Store 13(texel) 418
565             419:      6(int) CompositeExtract 417 0
566             420:      6(int) Load 8(resident)
567             421:      6(int) BitwiseOr 420 419
568                              Store 8(resident) 421
569             424:      6(int) Load 8(resident)
570             426:   425(bool) ImageSparseTexelsResident 424
571                              SelectionMerge 429 None
572                              BranchConditional 426 428 431
573             428:               Label
574             430:   11(fvec4)   Load 13(texel)
575                                Store 427 430
576                                Branch 429
577             431:               Label
578             432:   16(ivec4)   Load 18(itexel)
579             433:   11(fvec4)   ConvertSToF 432
580             434:   21(ivec4)   Load 23(utexel)
581             435:   11(fvec4)   ConvertUToF 434
582             436:   11(fvec4)   FAdd 433 435
583                                Store 427 436
584                                Branch 429
585             429:             Label
586             437:   11(fvec4) Load 427
587                              Store 423(outColor) 437
588                              Return
589                              FunctionEnd
590