af232ec3cdf96223baddf5250debd4bad8561ed2
[platform/upstream/glslang.git] / Test / baseResults / spv.int32.frag.out
1 spv.int32.frag
2 // Module Version 10300
3 // Generated by (magic number): 8000a
4 // Id's are bound by 505
5
6                               Capability Shader
7                               Capability Float16
8                               Capability Float64
9                               Capability Int64
10                               Capability Int16
11                               Capability Int8
12                1:             ExtInstImport  "GLSL.std.450"
13                               MemoryModel Logical GLSL450
14                               EntryPoint Fragment 4  "main"
15                               ExecutionMode 4 OriginUpperLeft
16                               Source GLSL 450
17                               SourceExtension  "GL_EXT_shader_explicit_arithmetic_types"
18                               SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_float16"
19                               SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_float32"
20                               SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_float64"
21                               SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_int16"
22                               SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_int32"
23                               SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_int64"
24                               SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_int8"
25                               Name 4  "main"
26                               Name 6  "literal("
27                               Name 8  "typeCast32("
28                               Name 10  "operators("
29                               Name 12  "builtinFuncs("
30                               Name 16  "u32Max"
31                               Name 20  "i32"
32                               Name 27  "Uniforms"
33                               MemberName 27(Uniforms) 0  "index"
34                               Name 29  ""
35                               Name 35  "indexable"
36                               Name 39  "u32"
37                               Name 46  "indexable"
38                               Name 51  "u32v"
39                               Name 54  "i32v"
40                               Name 60  "i64v"
41                               Name 66  "u64v"
42                               Name 78  "f32v"
43                               Name 84  "f64v"
44                               Name 94  "i8v"
45                               Name 105  "i16v"
46                               Name 125  "u8v"
47                               Name 132  "u16v"
48                               Name 152  "f16v"
49                               Name 168  "bv"
50                               Name 186  "u32v"
51                               Name 191  "i32"
52                               Name 210  "i"
53                               Name 214  "uv"
54                               Name 227  "i64"
55                               Name 260  "b"
56                               Name 312  "i32v"
57                               Name 315  "i32"
58                               Name 325  "u32v"
59                               Name 327  "u32"
60                               Name 399  "i8v4"
61                               Name 402  "i16v2"
62                               Name 407  "u8v4"
63                               Name 410  "u16v2"
64                               Name 413  "i64"
65                               Name 416  "u32v2"
66                               Name 418  "u64"
67                               Name 422  "bv"
68                               Name 497  "Block"
69                               MemberName 497(Block) 0  "i32"
70                               MemberName 497(Block) 1  "i32v2"
71                               MemberName 497(Block) 2  "i32v3"
72                               MemberName 497(Block) 3  "i32v4"
73                               MemberName 497(Block) 4  "u32"
74                               MemberName 497(Block) 5  "u32v2"
75                               MemberName 497(Block) 6  "u32v3"
76                               MemberName 497(Block) 7  "u32v4"
77                               Name 499  "block"
78                               Name 500  "si32"
79                               Name 501  "su32"
80                               Name 502  "si"
81                               Name 503  "su"
82                               Name 504  "sb"
83                               MemberDecorate 27(Uniforms) 0 Offset 0
84                               Decorate 27(Uniforms) Block
85                               Decorate 29 DescriptorSet 0
86                               Decorate 29 Binding 0
87                               MemberDecorate 497(Block) 0 Offset 0
88                               MemberDecorate 497(Block) 1 Offset 8
89                               MemberDecorate 497(Block) 2 Offset 16
90                               MemberDecorate 497(Block) 3 Offset 32
91                               MemberDecorate 497(Block) 4 Offset 48
92                               MemberDecorate 497(Block) 5 Offset 56
93                               MemberDecorate 497(Block) 6 Offset 64
94                               MemberDecorate 497(Block) 7 Offset 80
95                               Decorate 497(Block) Block
96                               Decorate 499(block) DescriptorSet 0
97                               Decorate 499(block) Binding 1
98                               Decorate 500(si32) SpecId 100
99                               Decorate 501(su32) SpecId 101
100                               Decorate 502(si) SpecId 102
101                               Decorate 503(su) SpecId 103
102                               Decorate 504(sb) SpecId 104
103                2:             TypeVoid
104                3:             TypeFunction 2
105               14:             TypeInt 32 0
106               15:             TypePointer Private 14(int)
107       16(u32Max):     15(ptr) Variable Private
108               17:     14(int) Constant 4294967295
109               18:             TypeInt 32 1
110               19:             TypePointer Function 18(int)
111               21:     14(int) Constant 3
112               22:             TypeArray 18(int) 21
113               23:     18(int) Constant 4008636143
114               24:     18(int) Constant 4294967295
115               25:     18(int) Constant 536870912
116               26:          22 ConstantComposite 23 24 25
117     27(Uniforms):             TypeStruct 14(int)
118               28:             TypePointer Uniform 27(Uniforms)
119               29:     28(ptr) Variable Uniform
120               30:     18(int) Constant 0
121               31:             TypePointer Uniform 14(int)
122               34:             TypePointer Function 22
123               38:             TypePointer Function 14(int)
124               40:             TypeArray 14(int) 21
125               41:     14(int) Constant 2147483647
126               42:          40 ConstantComposite 17 17 41
127               45:             TypePointer Function 40
128               49:             TypeVector 14(int) 2
129               50:             TypePointer Function 49(ivec2)
130               52:             TypeVector 18(int) 2
131               53:             TypePointer Function 52(ivec2)
132               57:             TypeInt 64 1
133               58:             TypeVector 57(int64_t) 2
134               59:             TypePointer Function 58(i64vec2)
135               63:             TypeInt 64 0
136               64:             TypeVector 63(int64_t) 2
137               65:             TypePointer Function 64(i64vec2)
138               75:             TypeFloat 32
139               76:             TypeVector 75(float) 2
140               77:             TypePointer Function 76(fvec2)
141               81:             TypeFloat 64
142               82:             TypeVector 81(float64_t) 2
143               83:             TypePointer Function 82(f64vec2)
144               91:             TypeInt 8 1
145               92:             TypeVector 91(int8_t) 2
146               93:             TypePointer Function 92(i8vec2)
147               98:             TypeInt 8 0
148               99:             TypeVector 98(int8_t) 2
149              102:             TypeInt 16 1
150              103:             TypeVector 102(int16_t) 2
151              104:             TypePointer Function 103(i16vec2)
152              109:             TypeInt 16 0
153              110:             TypeVector 109(int16_t) 2
154              124:             TypePointer Function 99(i8vec2)
155              131:             TypePointer Function 110(i16vec2)
156              149:             TypeFloat 16
157              150:             TypeVector 149(float16_t) 2
158              151:             TypePointer Function 150(f16vec2)
159              165:             TypeBool
160              166:             TypeVector 165(bool) 2
161              167:             TypePointer Function 166(bvec2)
162              170:     18(int) Constant 1
163              171:   52(ivec2) ConstantComposite 30 30
164              172:   52(ivec2) ConstantComposite 170 170
165              175:     14(int) Constant 0
166              176:     14(int) Constant 1
167              177:   49(ivec2) ConstantComposite 175 175
168              178:   49(ivec2) ConstantComposite 176 176
169              184:             TypeVector 14(int) 3
170              185:             TypePointer Function 184(ivec3)
171              188:             TypeVector 18(int) 3
172              226:             TypePointer Function 57(int64_t)
173              251:     14(int) Constant 2
174              259:             TypePointer Function 165(bool)
175              323:   52(ivec2) ConstantComposite 24 24
176              332:  184(ivec3) ConstantComposite 175 175 175
177              374:   165(bool) ConstantTrue
178              381:   165(bool) ConstantFalse
179              382:  166(bvec2) ConstantComposite 381 381
180              394:             TypeVector 165(bool) 3
181              395:  394(bvec3) ConstantComposite 381 381 381
182              397:             TypeVector 91(int8_t) 4
183              398:             TypePointer Function 397(i8vec4)
184              405:             TypeVector 98(int8_t) 4
185              406:             TypePointer Function 405(i8vec4)
186              417:             TypePointer Function 63(int64_t)
187              421:             TypePointer Function 394(bvec3)
188              495:             TypeVector 18(int) 4
189              496:             TypeVector 14(int) 4
190       497(Block):             TypeStruct 18(int) 52(ivec2) 188(ivec3) 495(ivec4) 14(int) 49(ivec2) 184(ivec3) 496(ivec4)
191              498:             TypePointer Uniform 497(Block)
192       499(block):    498(ptr) Variable Uniform
193        500(si32):     18(int) SpecConstant 4294967286
194        501(su32):     14(int) SpecConstant 20
195          502(si):     18(int) SpecConstant 4294967291
196          503(su):     14(int) SpecConstant 4
197          504(sb):   165(bool) SpecConstantTrue
198          4(main):           2 Function None 3
199                5:             Label
200                               Store 16(u32Max) 17
201                               Return
202                               FunctionEnd
203      6(literal():           2 Function None 3
204                7:             Label
205          20(i32):     19(ptr) Variable Function
206    35(indexable):     34(ptr) Variable Function
207          39(u32):     38(ptr) Variable Function
208    46(indexable):     45(ptr) Variable Function
209               32:     31(ptr) AccessChain 29 30
210               33:     14(int) Load 32
211                               Store 35(indexable) 26
212               36:     19(ptr) AccessChain 35(indexable) 33
213               37:     18(int) Load 36
214                               Store 20(i32) 37
215               43:     31(ptr) AccessChain 29 30
216               44:     14(int) Load 43
217                               Store 46(indexable) 42
218               47:     38(ptr) AccessChain 46(indexable) 44
219               48:     14(int) Load 47
220                               Store 39(u32) 48
221                               Return
222                               FunctionEnd
223   8(typeCast32():           2 Function None 3
224                9:             Label
225         51(u32v):     50(ptr) Variable Function
226         54(i32v):     53(ptr) Variable Function
227         60(i64v):     59(ptr) Variable Function
228         66(u64v):     65(ptr) Variable Function
229         78(f32v):     77(ptr) Variable Function
230         84(f64v):     83(ptr) Variable Function
231          94(i8v):     93(ptr) Variable Function
232        105(i16v):    104(ptr) Variable Function
233         125(u8v):    124(ptr) Variable Function
234        132(u16v):    131(ptr) Variable Function
235        152(f16v):    151(ptr) Variable Function
236          168(bv):    167(ptr) Variable Function
237               55:   52(ivec2) Load 54(i32v)
238               56:   49(ivec2) Bitcast 55
239                               Store 51(u32v) 56
240               61:   52(ivec2) Load 54(i32v)
241               62: 58(i64vec2) SConvert 61
242                               Store 60(i64v) 62
243               67:   52(ivec2) Load 54(i32v)
244               68: 58(i64vec2) SConvert 67
245               69: 64(i64vec2) Bitcast 68
246                               Store 66(u64v) 69
247               70:   49(ivec2) Load 51(u32v)
248               71: 64(i64vec2) UConvert 70
249               72: 58(i64vec2) Bitcast 71
250                               Store 60(i64v) 72
251               73:   49(ivec2) Load 51(u32v)
252               74: 64(i64vec2) UConvert 73
253                               Store 66(u64v) 74
254               79:   52(ivec2) Load 54(i32v)
255               80:   76(fvec2) ConvertSToF 79
256                               Store 78(f32v) 80
257               85:   52(ivec2) Load 54(i32v)
258               86: 82(f64vec2) ConvertSToF 85
259                               Store 84(f64v) 86
260               87:   49(ivec2) Load 51(u32v)
261               88:   76(fvec2) ConvertUToF 87
262                               Store 78(f32v) 88
263               89:   49(ivec2) Load 51(u32v)
264               90: 82(f64vec2) ConvertUToF 89
265                               Store 84(f64v) 90
266               95:   52(ivec2) Load 54(i32v)
267               96:  92(i8vec2) SConvert 95
268                               Store 94(i8v) 96
269               97:   49(ivec2) Load 51(u32v)
270              100:  99(i8vec2) UConvert 97
271              101:  92(i8vec2) Bitcast 100
272                               Store 94(i8v) 101
273              106:   52(ivec2) Load 54(i32v)
274              107:103(i16vec2) SConvert 106
275                               Store 105(i16v) 107
276              108:   49(ivec2) Load 51(u32v)
277              111:110(i16vec2) UConvert 108
278              112:103(i16vec2) Bitcast 111
279                               Store 105(i16v) 112
280              113:   52(ivec2) Load 54(i32v)
281              114:     18(int) CompositeExtract 113 0
282              115:     18(int) CompositeExtract 113 1
283              116:   52(ivec2) CompositeConstruct 114 115
284                               Store 54(i32v) 116
285              117:   49(ivec2) Load 51(u32v)
286              118:   52(ivec2) Bitcast 117
287                               Store 54(i32v) 118
288              119:   52(ivec2) Load 54(i32v)
289              120: 58(i64vec2) SConvert 119
290                               Store 60(i64v) 120
291              121:   49(ivec2) Load 51(u32v)
292              122: 64(i64vec2) UConvert 121
293              123: 58(i64vec2) Bitcast 122
294                               Store 60(i64v) 123
295              126:   52(ivec2) Load 54(i32v)
296              127:  92(i8vec2) SConvert 126
297              128:  99(i8vec2) Bitcast 127
298                               Store 125(u8v) 128
299              129:   49(ivec2) Load 51(u32v)
300              130:  99(i8vec2) UConvert 129
301                               Store 125(u8v) 130
302              133:   52(ivec2) Load 54(i32v)
303              134:103(i16vec2) SConvert 133
304              135:110(i16vec2) Bitcast 134
305                               Store 132(u16v) 135
306              136:   49(ivec2) Load 51(u32v)
307              137:110(i16vec2) UConvert 136
308                               Store 132(u16v) 137
309              138:   52(ivec2) Load 54(i32v)
310              139:   49(ivec2) Bitcast 138
311                               Store 51(u32v) 139
312              140:   49(ivec2) Load 51(u32v)
313              141:     14(int) CompositeExtract 140 0
314              142:     14(int) CompositeExtract 140 1
315              143:   49(ivec2) CompositeConstruct 141 142
316                               Store 51(u32v) 143
317              144:   52(ivec2) Load 54(i32v)
318              145: 58(i64vec2) SConvert 144
319              146: 64(i64vec2) Bitcast 145
320                               Store 66(u64v) 146
321              147:   49(ivec2) Load 51(u32v)
322              148: 64(i64vec2) UConvert 147
323                               Store 66(u64v) 148
324              153:   52(ivec2) Load 54(i32v)
325              154:150(f16vec2) ConvertSToF 153
326                               Store 152(f16v) 154
327              155:   52(ivec2) Load 54(i32v)
328              156:   76(fvec2) ConvertSToF 155
329                               Store 78(f32v) 156
330              157:   52(ivec2) Load 54(i32v)
331              158: 82(f64vec2) ConvertSToF 157
332                               Store 84(f64v) 158
333              159:   49(ivec2) Load 51(u32v)
334              160:150(f16vec2) ConvertUToF 159
335                               Store 152(f16v) 160
336              161:   49(ivec2) Load 51(u32v)
337              162:   76(fvec2) ConvertUToF 161
338                               Store 78(f32v) 162
339              163:   49(ivec2) Load 51(u32v)
340              164: 82(f64vec2) ConvertUToF 163
341                               Store 84(f64v) 164
342              169:  166(bvec2) Load 168(bv)
343              173:   52(ivec2) Select 169 172 171
344                               Store 54(i32v) 173
345              174:  166(bvec2) Load 168(bv)
346              179:   49(ivec2) Select 174 178 177
347                               Store 51(u32v) 179
348              180:   52(ivec2) Load 54(i32v)
349              181:  166(bvec2) INotEqual 180 177
350                               Store 168(bv) 181
351              182:   49(ivec2) Load 51(u32v)
352              183:  166(bvec2) INotEqual 182 177
353                               Store 168(bv) 183
354                               Return
355                               FunctionEnd
356   10(operators():           2 Function None 3
357               11:             Label
358        186(u32v):    185(ptr) Variable Function
359         191(i32):     19(ptr) Variable Function
360           210(i):     19(ptr) Variable Function
361          214(uv):    185(ptr) Variable Function
362         227(i64):    226(ptr) Variable Function
363           260(b):    259(ptr) Variable Function
364              187:  184(ivec3) Load 186(u32v)
365              189:  188(ivec3) CompositeConstruct 170 170 170
366              190:  184(ivec3) IAdd 187 189
367                               Store 186(u32v) 190
368              192:     18(int) Load 191(i32)
369              193:     18(int) ISub 192 170
370                               Store 191(i32) 193
371              194:     18(int) Load 191(i32)
372              195:     18(int) IAdd 194 170
373                               Store 191(i32) 195
374              196:  184(ivec3) Load 186(u32v)
375              197:  188(ivec3) CompositeConstruct 170 170 170
376              198:  184(ivec3) ISub 196 197
377                               Store 186(u32v) 198
378              199:  184(ivec3) Load 186(u32v)
379              200:  184(ivec3) Not 199
380                               Store 186(u32v) 200
381              201:     18(int) Load 191(i32)
382                               Store 191(i32) 201
383              202:  184(ivec3) Load 186(u32v)
384              203:  184(ivec3) SNegate 202
385                               Store 186(u32v) 203
386              204:     18(int) Load 191(i32)
387              205:     18(int) Load 191(i32)
388              206:     18(int) IAdd 205 204
389                               Store 191(i32) 206
390              207:  184(ivec3) Load 186(u32v)
391              208:  184(ivec3) Load 186(u32v)
392              209:  184(ivec3) ISub 208 207
393                               Store 186(u32v) 209
394              211:     18(int) Load 191(i32)
395              212:     18(int) Load 210(i)
396              213:     18(int) IMul 212 211
397                               Store 210(i) 213
398              215:  184(ivec3) Load 186(u32v)
399              216:  184(ivec3) Load 214(uv)
400              217:  184(ivec3) UDiv 216 215
401                               Store 214(uv) 217
402              218:     18(int) Load 191(i32)
403              219:     14(int) Bitcast 218
404              220:  184(ivec3) Load 214(uv)
405              221:  184(ivec3) CompositeConstruct 219 219 219
406              222:  184(ivec3) UMod 220 221
407                               Store 214(uv) 222
408              223:  184(ivec3) Load 186(u32v)
409              224:  184(ivec3) Load 214(uv)
410              225:  184(ivec3) IAdd 223 224
411                               Store 214(uv) 225
412              228:     18(int) Load 191(i32)
413              229: 57(int64_t) SConvert 228
414              230: 57(int64_t) Load 227(i64)
415              231: 57(int64_t) ISub 229 230
416                               Store 227(i64) 231
417              232:  184(ivec3) Load 186(u32v)
418              233:  184(ivec3) Load 214(uv)
419              234:  184(ivec3) IMul 232 233
420                               Store 214(uv) 234
421              235:     18(int) Load 191(i32)
422              236: 57(int64_t) SConvert 235
423              237: 57(int64_t) Load 227(i64)
424              238: 57(int64_t) IMul 236 237
425                               Store 227(i64) 238
426              239:     18(int) Load 191(i32)
427              240:     18(int) Load 210(i)
428              241:     18(int) SMod 239 240
429                               Store 210(i) 241
430              242:     18(int) Load 191(i32)
431              243:  184(ivec3) Load 186(u32v)
432              244:  188(ivec3) CompositeConstruct 242 242 242
433              245:  184(ivec3) ShiftLeftLogical 243 244
434                               Store 186(u32v) 245
435              246:     38(ptr) AccessChain 186(u32v) 176
436              247:     14(int) Load 246
437              248:     18(int) Load 191(i32)
438              249:     18(int) ShiftRightArithmetic 248 247
439                               Store 191(i32) 249
440              250: 57(int64_t) Load 227(i64)
441              252:     38(ptr) AccessChain 186(u32v) 251
442              253:     14(int) Load 252
443              254: 57(int64_t) ShiftLeftLogical 250 253
444                               Store 227(i64) 254
445              255:  184(ivec3) Load 186(u32v)
446              256:     18(int) Load 210(i)
447              257:  188(ivec3) CompositeConstruct 256 256 256
448              258:  184(ivec3) ShiftLeftLogical 255 257
449                               Store 214(uv) 258
450              261:     38(ptr) AccessChain 186(u32v) 175
451              262:     14(int) Load 261
452              263:     18(int) Load 191(i32)
453              264:     14(int) Bitcast 263
454              265:   165(bool) INotEqual 262 264
455                               Store 260(b) 265
456              266:     18(int) Load 191(i32)
457              267:     14(int) Bitcast 266
458              268:     38(ptr) AccessChain 186(u32v) 175
459              269:     14(int) Load 268
460              270:   165(bool) IEqual 267 269
461                               Store 260(b) 270
462              271:     38(ptr) AccessChain 186(u32v) 175
463              272:     14(int) Load 271
464              273:     38(ptr) AccessChain 214(uv) 176
465              274:     14(int) Load 273
466              275:   165(bool) UGreaterThan 272 274
467                               Store 260(b) 275
468              276:     18(int) Load 191(i32)
469              277:     18(int) Load 210(i)
470              278:   165(bool) SLessThan 276 277
471                               Store 260(b) 278
472              279:     38(ptr) AccessChain 186(u32v) 176
473              280:     14(int) Load 279
474              281:     38(ptr) AccessChain 214(uv) 175
475              282:     14(int) Load 281
476              283:   165(bool) UGreaterThanEqual 280 282
477                               Store 260(b) 283
478              284:     18(int) Load 191(i32)
479              285:     18(int) Load 210(i)
480              286:   165(bool) SLessThanEqual 284 285
481                               Store 260(b) 286
482              287:     18(int) Load 191(i32)
483              288:     14(int) Bitcast 287
484              289:  184(ivec3) Load 214(uv)
485              290:  184(ivec3) CompositeConstruct 288 288 288
486              291:  184(ivec3) BitwiseOr 289 290
487                               Store 214(uv) 291
488              292:     18(int) Load 191(i32)
489              293:     18(int) Load 210(i)
490              294:     18(int) BitwiseOr 292 293
491                               Store 210(i) 294
492              295:     18(int) Load 191(i32)
493              296: 57(int64_t) SConvert 295
494              297: 57(int64_t) Load 227(i64)
495              298: 57(int64_t) BitwiseAnd 297 296
496                               Store 227(i64) 298
497              299:  184(ivec3) Load 186(u32v)
498              300:  184(ivec3) Load 214(uv)
499              301:  184(ivec3) BitwiseAnd 299 300
500                               Store 214(uv) 301
501              302:     18(int) Load 191(i32)
502              303:     14(int) Bitcast 302
503              304:  184(ivec3) Load 214(uv)
504              305:  184(ivec3) CompositeConstruct 303 303 303
505              306:  184(ivec3) BitwiseXor 304 305
506                               Store 214(uv) 306
507              307:  184(ivec3) Load 186(u32v)
508              308:     18(int) Load 191(i32)
509              309:     14(int) Bitcast 308
510              310:  184(ivec3) CompositeConstruct 309 309 309
511              311:  184(ivec3) BitwiseXor 307 310
512                               Store 186(u32v) 311
513                               Return
514                               FunctionEnd
515 12(builtinFuncs():           2 Function None 3
516               13:             Label
517        312(i32v):     53(ptr) Variable Function
518         315(i32):     19(ptr) Variable Function
519        325(u32v):    185(ptr) Variable Function
520         327(u32):     38(ptr) Variable Function
521        399(i8v4):    398(ptr) Variable Function
522       402(i16v2):    104(ptr) Variable Function
523        407(u8v4):    406(ptr) Variable Function
524       410(u16v2):    131(ptr) Variable Function
525         413(i64):    226(ptr) Variable Function
526       416(u32v2):     50(ptr) Variable Function
527         418(u64):    417(ptr) Variable Function
528          422(bv):    421(ptr) Variable Function
529              313:   52(ivec2) Load 312(i32v)
530              314:   52(ivec2) ExtInst 1(GLSL.std.450) 5(SAbs) 313
531                               Store 312(i32v) 314
532              316:     18(int) Load 315(i32)
533              317:     18(int) ExtInst 1(GLSL.std.450) 7(SSign) 316
534                               Store 315(i32) 317
535              318:   52(ivec2) Load 312(i32v)
536              319:     18(int) Load 315(i32)
537              320:   52(ivec2) CompositeConstruct 319 319
538              321:   52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 318 320
539                               Store 312(i32v) 321
540              322:   52(ivec2) Load 312(i32v)
541              324:   52(ivec2) ExtInst 1(GLSL.std.450) 39(SMin) 322 323
542                               Store 312(i32v) 324
543              326:  184(ivec3) Load 325(u32v)
544              328:     14(int) Load 327(u32)
545              329:  184(ivec3) CompositeConstruct 328 328 328
546              330:  184(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 326 329
547                               Store 325(u32v) 330
548              331:  184(ivec3) Load 325(u32v)
549              333:  184(ivec3) ExtInst 1(GLSL.std.450) 38(UMin) 331 332
550                               Store 325(u32v) 333
551              334:   52(ivec2) Load 312(i32v)
552              335:     18(int) Load 315(i32)
553              336:   52(ivec2) CompositeConstruct 335 335
554              337:   52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 334 336
555                               Store 312(i32v) 337
556              338:   52(ivec2) Load 312(i32v)
557              339:   52(ivec2) ExtInst 1(GLSL.std.450) 42(SMax) 338 323
558                               Store 312(i32v) 339
559              340:  184(ivec3) Load 325(u32v)
560              341:     14(int) Load 327(u32)
561              342:  184(ivec3) CompositeConstruct 341 341 341
562              343:  184(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 340 342
563                               Store 325(u32v) 343
564              344:  184(ivec3) Load 325(u32v)
565              345:  184(ivec3) ExtInst 1(GLSL.std.450) 41(UMax) 344 332
566                               Store 325(u32v) 345
567              346:   52(ivec2) Load 312(i32v)
568              347:     18(int) Load 315(i32)
569              348:     18(int) SNegate 347
570              349:     18(int) Load 315(i32)
571              350:   52(ivec2) CompositeConstruct 348 348
572              351:   52(ivec2) CompositeConstruct 349 349
573              352:   52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 346 350 351
574                               Store 312(i32v) 352
575              353:   52(ivec2) Load 312(i32v)
576              354:   52(ivec2) Load 312(i32v)
577              355:   52(ivec2) SNegate 354
578              356:   52(ivec2) Load 312(i32v)
579              357:   52(ivec2) ExtInst 1(GLSL.std.450) 45(SClamp) 353 355 356
580                               Store 312(i32v) 357
581              358:  184(ivec3) Load 325(u32v)
582              359:     14(int) Load 327(u32)
583              360:     14(int) SNegate 359
584              361:     14(int) Load 327(u32)
585              362:  184(ivec3) CompositeConstruct 360 360 360
586              363:  184(ivec3) CompositeConstruct 361 361 361
587              364:  184(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 358 362 363
588                               Store 325(u32v) 364
589              365:  184(ivec3) Load 325(u32v)
590              366:  184(ivec3) Load 325(u32v)
591              367:  184(ivec3) SNegate 366
592              368:  184(ivec3) Load 325(u32v)
593              369:  184(ivec3) ExtInst 1(GLSL.std.450) 44(UClamp) 365 367 368
594                               Store 325(u32v) 369
595              370:     19(ptr) AccessChain 312(i32v) 175
596              371:     18(int) Load 370
597              372:     19(ptr) AccessChain 312(i32v) 176
598              373:     18(int) Load 372
599              375:     18(int) Select 374 373 371
600                               Store 315(i32) 375
601              376:     18(int) Load 315(i32)
602              377:   52(ivec2) CompositeConstruct 376 376
603              378:     18(int) Load 315(i32)
604              379:     18(int) SNegate 378
605              380:   52(ivec2) CompositeConstruct 379 379
606              383:   52(ivec2) Select 382 380 377
607                               Store 312(i32v) 383
608              384:     38(ptr) AccessChain 325(u32v) 175
609              385:     14(int) Load 384
610              386:     38(ptr) AccessChain 325(u32v) 176
611              387:     14(int) Load 386
612              388:     14(int) Select 374 387 385
613                               Store 327(u32) 388
614              389:     14(int) Load 327(u32)
615              390:  184(ivec3) CompositeConstruct 389 389 389
616              391:     14(int) Load 327(u32)
617              392:     14(int) SNegate 391
618              393:  184(ivec3) CompositeConstruct 392 392 392
619              396:  184(ivec3) Select 395 393 390
620                               Store 325(u32v) 396
621              400: 397(i8vec4) Load 399(i8v4)
622              401:     18(int) Bitcast 400
623                               Store 315(i32) 401
624              403:103(i16vec2) Load 402(i16v2)
625              404:     18(int) Bitcast 403
626                               Store 315(i32) 404
627              408: 405(i8vec4) Load 407(u8v4)
628              409:     14(int) Bitcast 408
629                               Store 327(u32) 409
630              411:110(i16vec2) Load 410(u16v2)
631              412:     14(int) Bitcast 411
632                               Store 327(u32) 412
633              414: 57(int64_t) Load 413(i64)
634              415:   52(ivec2) Bitcast 414
635                               Store 312(i32v) 415
636              419: 63(int64_t) Load 418(u64)
637              420:   49(ivec2) Bitcast 419
638                               Store 416(u32v2) 420
639              423:  184(ivec3) Load 325(u32v)
640              424:     14(int) Load 327(u32)
641              425:  184(ivec3) CompositeConstruct 424 424 424
642              426:  394(bvec3) ULessThan 423 425
643                               Store 422(bv) 426
644              427:   52(ivec2) Load 312(i32v)
645              428:     18(int) Load 315(i32)
646              429:   52(ivec2) CompositeConstruct 428 428
647              430:  166(bvec2) SLessThan 427 429
648              431:    259(ptr) AccessChain 422(bv) 175
649              432:   165(bool) CompositeExtract 430 0
650                               Store 431 432
651              433:    259(ptr) AccessChain 422(bv) 176
652              434:   165(bool) CompositeExtract 430 1
653                               Store 433 434
654              435:  184(ivec3) Load 325(u32v)
655              436:     14(int) Load 327(u32)
656              437:  184(ivec3) CompositeConstruct 436 436 436
657              438:  394(bvec3) ULessThanEqual 435 437
658                               Store 422(bv) 438
659              439:   52(ivec2) Load 312(i32v)
660              440:     18(int) Load 315(i32)
661              441:   52(ivec2) CompositeConstruct 440 440
662              442:  166(bvec2) SLessThanEqual 439 441
663              443:    259(ptr) AccessChain 422(bv) 175
664              444:   165(bool) CompositeExtract 442 0
665                               Store 443 444
666              445:    259(ptr) AccessChain 422(bv) 176
667              446:   165(bool) CompositeExtract 442 1
668                               Store 445 446
669              447:  184(ivec3) Load 325(u32v)
670              448:     14(int) Load 327(u32)
671              449:  184(ivec3) CompositeConstruct 448 448 448
672              450:  394(bvec3) UGreaterThan 447 449
673                               Store 422(bv) 450
674              451:   52(ivec2) Load 312(i32v)
675              452:     18(int) Load 315(i32)
676              453:   52(ivec2) CompositeConstruct 452 452
677              454:  166(bvec2) SGreaterThan 451 453
678              455:    259(ptr) AccessChain 422(bv) 175
679              456:   165(bool) CompositeExtract 454 0
680                               Store 455 456
681              457:    259(ptr) AccessChain 422(bv) 176
682              458:   165(bool) CompositeExtract 454 1
683                               Store 457 458
684              459:  184(ivec3) Load 325(u32v)
685              460:     14(int) Load 327(u32)
686              461:  184(ivec3) CompositeConstruct 460 460 460
687              462:  394(bvec3) UGreaterThanEqual 459 461
688                               Store 422(bv) 462
689              463:   52(ivec2) Load 312(i32v)
690              464:     18(int) Load 315(i32)
691              465:   52(ivec2) CompositeConstruct 464 464
692              466:  166(bvec2) SGreaterThanEqual 463 465
693              467:    259(ptr) AccessChain 422(bv) 175
694              468:   165(bool) CompositeExtract 466 0
695                               Store 467 468
696              469:    259(ptr) AccessChain 422(bv) 176
697              470:   165(bool) CompositeExtract 466 1
698                               Store 469 470
699              471:  184(ivec3) Load 325(u32v)
700              472:     14(int) Load 327(u32)
701              473:  184(ivec3) CompositeConstruct 472 472 472
702              474:  394(bvec3) IEqual 471 473
703                               Store 422(bv) 474
704              475:   52(ivec2) Load 312(i32v)
705              476:     18(int) Load 315(i32)
706              477:   52(ivec2) CompositeConstruct 476 476
707              478:  166(bvec2) IEqual 475 477
708              479:    259(ptr) AccessChain 422(bv) 175
709              480:   165(bool) CompositeExtract 478 0
710                               Store 479 480
711              481:    259(ptr) AccessChain 422(bv) 176
712              482:   165(bool) CompositeExtract 478 1
713                               Store 481 482
714              483:  184(ivec3) Load 325(u32v)
715              484:     14(int) Load 327(u32)
716              485:  184(ivec3) CompositeConstruct 484 484 484
717              486:  394(bvec3) INotEqual 483 485
718                               Store 422(bv) 486
719              487:   52(ivec2) Load 312(i32v)
720              488:     18(int) Load 315(i32)
721              489:   52(ivec2) CompositeConstruct 488 488
722              490:  166(bvec2) INotEqual 487 489
723              491:    259(ptr) AccessChain 422(bv) 175
724              492:   165(bool) CompositeExtract 490 0
725                               Store 491 492
726              493:    259(ptr) AccessChain 422(bv) 176
727              494:   165(bool) CompositeExtract 490 1
728                               Store 493 494
729                               Return
730                               FunctionEnd