summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/spv.Operations.frag.out
blob: f8b666d5377cd2ef85e09958d79f3f60f9bb46e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
spv.Operations.frag
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.


Linked fragment stage:


// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 509

                              Capability Shader
               1:             ExtInstImport  "GLSL.std.450"
                              MemoryModel Logical GLSL450
                              EntryPoint Fragment 4  "main" 11 22 212 288 485 503 508
                              ExecutionMode 4 OriginUpperLeft
                              Source GLSL 450
                              Name 4  "main"
                              Name 9  "v"
                              Name 11  "uv4"
                              Name 20  "i"
                              Name 22  "ui"
                              Name 181  "ub41"
                              Name 188  "f"
                              Name 212  "uf"
                              Name 285  "u"
                              Name 288  "uui"
                              Name 305  "b"
                              Name 342  "ub42"
                              Name 485  "FragColor"
                              Name 503  "uiv4"
                              Name 505  "ub"
                              Name 508  "uuv4"
                              Decorate 22(ui) Flat
                              Decorate 288(uui) Flat
                              Decorate 503(uiv4) Flat
                              Decorate 508(uuv4) Flat
               2:             TypeVoid
               3:             TypeFunction 2
               6:             TypeFloat 32
               7:             TypeVector 6(float) 4
               8:             TypePointer Function 7(fvec4)
              10:             TypePointer Input 7(fvec4)
         11(uv4):     10(ptr) Variable Input
              18:             TypeInt 32 1
              19:             TypePointer Function 18(int)
              21:             TypePointer Input 18(int)
          22(ui):     21(ptr) Variable Input
             141:             TypeInt 32 0
             142:    141(int) Constant 0
             143:             TypePointer Function 6(float)
             178:             TypeBool
             179:             TypeVector 178(bool) 4
             180:             TypePointer Private 179(bvec4)
       181(ub41):    180(ptr) Variable Private
             211:             TypePointer Input 6(float)
         212(uf):    211(ptr) Variable Input
             284:             TypePointer Function 141(int)
             287:             TypePointer Input 141(int)
        288(uui):    287(ptr) Variable Input
             304:             TypePointer Function 178(bool)
       342(ub42):    180(ptr) Variable Private
             398:     18(int) Constant 2
             405:     18(int) Constant 1
             435:             TypeVector 6(float) 3
             454:    6(float) Constant 1073741824
             461:    6(float) Constant 1065353216
             466:     18(int) Constant 66
             472:     18(int) Constant 17
             484:             TypePointer Output 7(fvec4)
  485(FragColor):    484(ptr) Variable Output
             501:             TypeVector 18(int) 4
             502:             TypePointer Input 501(ivec4)
       503(uiv4):    502(ptr) Variable Input
             504:             TypePointer Private 178(bool)
         505(ub):    504(ptr) Variable Private
             506:             TypeVector 141(int) 4
             507:             TypePointer Input 506(ivec4)
       508(uuv4):    507(ptr) Variable Input
         4(main):           2 Function None 3
               5:             Label
            9(v):      8(ptr) Variable Function
           20(i):     19(ptr) Variable Function
          188(f):    143(ptr) Variable Function
          285(u):    284(ptr) Variable Function
          305(b):    304(ptr) Variable Function
             486:      8(ptr) Variable Function
              12:    7(fvec4) Load 11(uv4)
              13:    7(fvec4) ExtInst 1(GLSL.std.450) 11(Radians) 12
                              Store 9(v) 13
              14:    7(fvec4) Load 9(v)
              15:    7(fvec4) ExtInst 1(GLSL.std.450) 12(Degrees) 14
              16:    7(fvec4) Load 9(v)
              17:    7(fvec4) FAdd 16 15
                              Store 9(v) 17
              23:     18(int) Load 22(ui)
              24:     18(int) Load 22(ui)
              25:     18(int) IMul 23 24
                              Store 20(i) 25
              26:    7(fvec4) Load 9(v)
              27:    7(fvec4) ExtInst 1(GLSL.std.450) 13(Sin) 26
              28:    7(fvec4) Load 9(v)
              29:    7(fvec4) FAdd 28 27
                              Store 9(v) 29
              30:    7(fvec4) Load 9(v)
              31:    7(fvec4) ExtInst 1(GLSL.std.450) 14(Cos) 30
              32:    7(fvec4) Load 9(v)
              33:    7(fvec4) FAdd 32 31
                              Store 9(v) 33
              34:    7(fvec4) Load 9(v)
              35:    7(fvec4) ExtInst 1(GLSL.std.450) 15(Tan) 34
              36:    7(fvec4) Load 9(v)
              37:    7(fvec4) FAdd 36 35
                              Store 9(v) 37
              38:    7(fvec4) Load 9(v)
              39:    7(fvec4) ExtInst 1(GLSL.std.450) 16(Asin) 38
              40:    7(fvec4) Load 9(v)
              41:    7(fvec4) FAdd 40 39
                              Store 9(v) 41
              42:    7(fvec4) Load 9(v)
              43:    7(fvec4) ExtInst 1(GLSL.std.450) 17(Acos) 42
              44:    7(fvec4) Load 9(v)
              45:    7(fvec4) FAdd 44 43
                              Store 9(v) 45
              46:    7(fvec4) Load 9(v)
              47:    7(fvec4) ExtInst 1(GLSL.std.450) 18(Atan) 46
              48:    7(fvec4) Load 9(v)
              49:    7(fvec4) FAdd 48 47
                              Store 9(v) 49
              50:    7(fvec4) Load 9(v)
              51:    7(fvec4) ExtInst 1(GLSL.std.450) 19(Sinh) 50
              52:    7(fvec4) Load 9(v)
              53:    7(fvec4) FAdd 52 51
                              Store 9(v) 53
              54:    7(fvec4) Load 9(v)
              55:    7(fvec4) ExtInst 1(GLSL.std.450) 20(Cosh) 54
              56:    7(fvec4) Load 9(v)
              57:    7(fvec4) FAdd 56 55
                              Store 9(v) 57
              58:    7(fvec4) Load 9(v)
              59:    7(fvec4) ExtInst 1(GLSL.std.450) 21(Tanh) 58
              60:    7(fvec4) Load 9(v)
              61:    7(fvec4) FAdd 60 59
                              Store 9(v) 61
              62:    7(fvec4) Load 9(v)
              63:    7(fvec4) ExtInst 1(GLSL.std.450) 22(Asinh) 62
              64:    7(fvec4) Load 9(v)
              65:    7(fvec4) FAdd 64 63
                              Store 9(v) 65
              66:    7(fvec4) Load 9(v)
              67:    7(fvec4) ExtInst 1(GLSL.std.450) 23(Acosh) 66
              68:    7(fvec4) Load 9(v)
              69:    7(fvec4) FAdd 68 67
                              Store 9(v) 69
              70:    7(fvec4) Load 9(v)
              71:    7(fvec4) ExtInst 1(GLSL.std.450) 24(Atanh) 70
              72:    7(fvec4) Load 9(v)
              73:    7(fvec4) FAdd 72 71
                              Store 9(v) 73
              74:    7(fvec4) Load 9(v)
              75:    7(fvec4) Load 9(v)
              76:    7(fvec4) ExtInst 1(GLSL.std.450) 26(Pow) 74 75
              77:    7(fvec4) Load 9(v)
              78:    7(fvec4) FAdd 77 76
                              Store 9(v) 78
              79:    7(fvec4) Load 9(v)
              80:    7(fvec4) ExtInst 1(GLSL.std.450) 27(Exp) 79
              81:    7(fvec4) Load 9(v)
              82:    7(fvec4) FAdd 81 80
                              Store 9(v) 82
              83:    7(fvec4) Load 9(v)
              84:    7(fvec4) ExtInst 1(GLSL.std.450) 28(Log) 83
              85:    7(fvec4) Load 9(v)
              86:    7(fvec4) FAdd 85 84
                              Store 9(v) 86
              87:    7(fvec4) Load 9(v)
              88:    7(fvec4) ExtInst 1(GLSL.std.450) 29(Exp2) 87
              89:    7(fvec4) Load 9(v)
              90:    7(fvec4) FAdd 89 88
                              Store 9(v) 90
              91:    7(fvec4) Load 9(v)
              92:    7(fvec4) ExtInst 1(GLSL.std.450) 30(Log2) 91
              93:    7(fvec4) Load 9(v)
              94:    7(fvec4) FAdd 93 92
                              Store 9(v) 94
              95:    7(fvec4) Load 9(v)
              96:    7(fvec4) ExtInst 1(GLSL.std.450) 31(Sqrt) 95
              97:    7(fvec4) Load 9(v)
              98:    7(fvec4) FAdd 97 96
                              Store 9(v) 98
              99:    7(fvec4) Load 9(v)
             100:    7(fvec4) ExtInst 1(GLSL.std.450) 32(InverseSqrt) 99
             101:    7(fvec4) Load 9(v)
             102:    7(fvec4) FAdd 101 100
                              Store 9(v) 102
             103:    7(fvec4) Load 9(v)
             104:    7(fvec4) ExtInst 1(GLSL.std.450) 4(FAbs) 103
             105:    7(fvec4) Load 9(v)
             106:    7(fvec4) FAdd 105 104
                              Store 9(v) 106
             107:    7(fvec4) Load 9(v)
             108:    7(fvec4) ExtInst 1(GLSL.std.450) 6(FSign) 107
             109:    7(fvec4) Load 9(v)
             110:    7(fvec4) FAdd 109 108
                              Store 9(v) 110
             111:    7(fvec4) Load 9(v)
             112:    7(fvec4) ExtInst 1(GLSL.std.450) 8(Floor) 111
             113:    7(fvec4) Load 9(v)
             114:    7(fvec4) FAdd 113 112
                              Store 9(v) 114
             115:    7(fvec4) Load 9(v)
             116:    7(fvec4) ExtInst 1(GLSL.std.450) 3(Trunc) 115
             117:    7(fvec4) Load 9(v)
             118:    7(fvec4) FAdd 117 116
                              Store 9(v) 118
             119:    7(fvec4) Load 9(v)
             120:    7(fvec4) ExtInst 1(GLSL.std.450) 1(Round) 119
             121:    7(fvec4) Load 9(v)
             122:    7(fvec4) FAdd 121 120
                              Store 9(v) 122
             123:    7(fvec4) Load 9(v)
             124:    7(fvec4) ExtInst 1(GLSL.std.450) 2(RoundEven) 123
             125:    7(fvec4) Load 9(v)
             126:    7(fvec4) FAdd 125 124
                              Store 9(v) 126
             127:    7(fvec4) Load 9(v)
             128:    7(fvec4) ExtInst 1(GLSL.std.450) 9(Ceil) 127
             129:    7(fvec4) Load 9(v)
             130:    7(fvec4) FAdd 129 128
                              Store 9(v) 130
             131:    7(fvec4) Load 9(v)
             132:    7(fvec4) ExtInst 1(GLSL.std.450) 10(Fract) 131
             133:    7(fvec4) Load 9(v)
             134:    7(fvec4) FAdd 133 132
                              Store 9(v) 134
             135:    7(fvec4) Load 9(v)
             136:    7(fvec4) Load 9(v)
             137:    7(fvec4) FMod 135 136
             138:    7(fvec4) Load 9(v)
             139:    7(fvec4) FAdd 138 137
                              Store 9(v) 139
             140:    7(fvec4) Load 9(v)
             144:    143(ptr) AccessChain 9(v) 142
             145:    6(float) Load 144
             146:    7(fvec4) CompositeConstruct 145 145 145 145
             147:    7(fvec4) FMod 140 146
             148:    7(fvec4) Load 9(v)
             149:    7(fvec4) FAdd 148 147
                              Store 9(v) 149
             150:    7(fvec4) Load 9(v)
             151:    7(fvec4) ExtInst 1(GLSL.std.450) 35(Modf) 150 9(v)
             152:    7(fvec4) Load 9(v)
             153:    7(fvec4) FAdd 152 151
                              Store 9(v) 153
             154:    7(fvec4) Load 9(v)
             155:    7(fvec4) Load 11(uv4)
             156:    7(fvec4) ExtInst 1(GLSL.std.450) 37(FMin) 154 155
             157:    7(fvec4) Load 9(v)
             158:    7(fvec4) FAdd 157 156
                              Store 9(v) 158
             159:    7(fvec4) Load 9(v)
             160:    7(fvec4) Load 11(uv4)
             161:    7(fvec4) ExtInst 1(GLSL.std.450) 40(FMax) 159 160
             162:    7(fvec4) Load 9(v)
             163:    7(fvec4) FAdd 162 161
                              Store 9(v) 163
             164:    7(fvec4) Load 9(v)
             165:    7(fvec4) Load 11(uv4)
             166:    7(fvec4) Load 11(uv4)
             167:    7(fvec4) ExtInst 1(GLSL.std.450) 43(FClamp) 164 165 166
             168:    7(fvec4) Load 9(v)
             169:    7(fvec4) FAdd 168 167
                              Store 9(v) 169
             170:    7(fvec4) Load 9(v)
             171:    7(fvec4) Load 9(v)
             172:    7(fvec4) Load 9(v)
             173:    7(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 170 171 172
             174:    7(fvec4) Load 9(v)
             175:    7(fvec4) FAdd 174 173
                              Store 9(v) 175
             176:    7(fvec4) Load 9(v)
             177:    7(fvec4) Load 9(v)
             182:  179(bvec4) Load 181(ub41)
             183:    7(fvec4) Select 182 177 176
             184:    7(fvec4) Load 9(v)
             185:    7(fvec4) FAdd 184 183
                              Store 9(v) 185
             186:    7(fvec4) Load 9(v)
             187:    7(fvec4) Load 9(v)
             189:    6(float) Load 188(f)
             190:    7(fvec4) CompositeConstruct 189 189 189 189
             191:    7(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 186 187 190
             192:    7(fvec4) Load 9(v)
             193:    7(fvec4) FAdd 192 191
                              Store 9(v) 193
             194:    7(fvec4) Load 9(v)
             195:    7(fvec4) Load 11(uv4)
             196:    7(fvec4) Load 9(v)
             197:    7(fvec4) ExtInst 1(GLSL.std.450) 50(Fma) 194 195 196
             198:    7(fvec4) Load 9(v)
             199:    7(fvec4) FAdd 198 197
                              Store 9(v) 199
             200:    7(fvec4) Load 9(v)
             201:    7(fvec4) Load 9(v)
             202:    7(fvec4) ExtInst 1(GLSL.std.450) 48(Step) 200 201
             203:    7(fvec4) Load 9(v)
             204:    7(fvec4) FAdd 203 202
                              Store 9(v) 204
             205:    7(fvec4) Load 9(v)
             206:    7(fvec4) Load 9(v)
             207:    7(fvec4) Load 9(v)
             208:    7(fvec4) ExtInst 1(GLSL.std.450) 49(SmoothStep) 205 206 207
             209:    7(fvec4) Load 9(v)
             210:    7(fvec4) FAdd 209 208
                              Store 9(v) 210
             213:    6(float) Load 212(uf)
             214:    7(fvec4) Load 9(v)
             215:    7(fvec4) CompositeConstruct 213 213 213 213
             216:    7(fvec4) ExtInst 1(GLSL.std.450) 48(Step) 215 214
             217:    7(fvec4) Load 9(v)
             218:    7(fvec4) FAdd 217 216
                              Store 9(v) 218
             219:    6(float) Load 212(uf)
             220:    6(float) Load 212(uf)
             221:    7(fvec4) Load 9(v)
             222:    7(fvec4) CompositeConstruct 219 219 219 219
             223:    7(fvec4) CompositeConstruct 220 220 220 220
             224:    7(fvec4) ExtInst 1(GLSL.std.450) 49(SmoothStep) 222 223 221
             225:    7(fvec4) Load 9(v)
             226:    7(fvec4) FAdd 225 224
                              Store 9(v) 226
             227:    7(fvec4) Load 9(v)
             228:    7(fvec4) ExtInst 1(GLSL.std.450) 69(Normalize) 227
             229:    7(fvec4) Load 9(v)
             230:    7(fvec4) FAdd 229 228
                              Store 9(v) 230
             231:    7(fvec4) Load 9(v)
             232:    7(fvec4) Load 9(v)
             233:    7(fvec4) Load 9(v)
             234:    7(fvec4) ExtInst 1(GLSL.std.450) 70(FaceForward) 231 232 233
             235:    7(fvec4) Load 9(v)
             236:    7(fvec4) FAdd 235 234
                              Store 9(v) 236
             237:    7(fvec4) Load 9(v)
             238:    7(fvec4) Load 9(v)
             239:    7(fvec4) ExtInst 1(GLSL.std.450) 71(Reflect) 237 238
             240:    7(fvec4) Load 9(v)
             241:    7(fvec4) FAdd 240 239
                              Store 9(v) 241
             242:    7(fvec4) Load 9(v)
             243:    7(fvec4) Load 9(v)
             244:    6(float) Load 212(uf)
             245:    7(fvec4) ExtInst 1(GLSL.std.450) 72(Refract) 242 243 244
             246:    7(fvec4) Load 9(v)
             247:    7(fvec4) FAdd 246 245
                              Store 9(v) 247
             248:    7(fvec4) Load 9(v)
             249:    7(fvec4) DPdx 248
             250:    7(fvec4) Load 9(v)
             251:    7(fvec4) FAdd 250 249
                              Store 9(v) 251
             252:    7(fvec4) Load 9(v)
             253:    7(fvec4) DPdy 252
             254:    7(fvec4) Load 9(v)
             255:    7(fvec4) FAdd 254 253
                              Store 9(v) 255
             256:    7(fvec4) Load 9(v)
             257:    7(fvec4) Fwidth 256
             258:    7(fvec4) Load 9(v)
             259:    7(fvec4) FAdd 258 257
                              Store 9(v) 259
             260:     18(int) Load 22(ui)
             261:     18(int) ExtInst 1(GLSL.std.450) 5(SAbs) 260
             262:     18(int) Load 20(i)
             263:     18(int) IAdd 262 261
                              Store 20(i) 263
             264:     18(int) Load 20(i)
             265:     18(int) ExtInst 1(GLSL.std.450) 7(SSign) 264
             266:     18(int) Load 20(i)
             267:     18(int) IAdd 266 265
                              Store 20(i) 267
             268:     18(int) Load 20(i)
             269:     18(int) Load 22(ui)
             270:     18(int) ExtInst 1(GLSL.std.450) 39(SMin) 268 269
             271:     18(int) Load 20(i)
             272:     18(int) IAdd 271 270
                              Store 20(i) 272
             273:     18(int) Load 20(i)
             274:     18(int) Load 22(ui)
             275:     18(int) ExtInst 1(GLSL.std.450) 42(SMax) 273 274
             276:     18(int) Load 20(i)
             277:     18(int) IAdd 276 275
                              Store 20(i) 277
             278:     18(int) Load 20(i)
             279:     18(int) Load 22(ui)
             280:     18(int) Load 22(ui)
             281:     18(int) ExtInst 1(GLSL.std.450) 45(SClamp) 278 279 280
             282:     18(int) Load 20(i)
             283:     18(int) IAdd 282 281
                              Store 20(i) 283
             286:    141(int) Load 285(u)
             289:    141(int) Load 288(uui)
             290:    141(int) ExtInst 1(GLSL.std.450) 38(UMin) 286 289
             291:    141(int) Load 285(u)
             292:    141(int) IAdd 291 290
                              Store 285(u) 292
             293:    141(int) Load 285(u)
             294:    141(int) Load 288(uui)
             295:    141(int) ExtInst 1(GLSL.std.450) 41(UMax) 293 294
             296:    141(int) Load 285(u)
             297:    141(int) IAdd 296 295
                              Store 285(u) 297
             298:    141(int) Load 285(u)
             299:    141(int) Load 288(uui)
             300:    141(int) Load 288(uui)
             301:    141(int) ExtInst 1(GLSL.std.450) 44(UClamp) 298 299 300
             302:    141(int) Load 285(u)
             303:    141(int) IAdd 302 301
                              Store 285(u) 303
             306:    6(float) Load 212(uf)
             307:   178(bool) IsNan 306
                              Store 305(b) 307
             308:    6(float) Load 188(f)
             309:   178(bool) IsInf 308
                              Store 305(b) 309
             310:    7(fvec4) Load 9(v)
             311:    7(fvec4) Load 11(uv4)
             312:  179(bvec4) FOrdLessThan 310 311
             313:   178(bool) Any 312
                              Store 305(b) 313
             314:   178(bool) Load 305(b)
                              SelectionMerge 316 None
                              BranchConditional 314 315 316
             315:               Label
             317:    7(fvec4)   Load 9(v)
             318:    7(fvec4)   Load 11(uv4)
             319:  179(bvec4)   FOrdLessThanEqual 317 318
             320:   178(bool)   Any 319
                                Branch 316
             316:             Label
             321:   178(bool) Phi 314 5 320 315
                              Store 305(b) 321
             322:   178(bool) Load 305(b)
                              SelectionMerge 324 None
                              BranchConditional 322 323 324
             323:               Label
             325:    7(fvec4)   Load 9(v)
             326:    7(fvec4)   Load 11(uv4)
             327:  179(bvec4)   FOrdGreaterThan 325 326
             328:   178(bool)   Any 327
                                Branch 324
             324:             Label
             329:   178(bool) Phi 322 316 328 323
                              Store 305(b) 329
             330:   178(bool) Load 305(b)
                              SelectionMerge 332 None
                              BranchConditional 330 331 332
             331:               Label
             333:    7(fvec4)   Load 9(v)
             334:    7(fvec4)   Load 11(uv4)
             335:  179(bvec4)   FOrdGreaterThanEqual 333 334
             336:   178(bool)   Any 335
                                Branch 332
             332:             Label
             337:   178(bool) Phi 330 324 336 331
                              Store 305(b) 337
             338:   178(bool) Load 305(b)
                              SelectionMerge 340 None
                              BranchConditional 338 339 340
             339:               Label
             341:  179(bvec4)   Load 181(ub41)
             343:  179(bvec4)   Load 342(ub42)
             344:  179(bvec4)   LogicalEqual 341 343
             345:   178(bool)   Any 344
                                Branch 340
             340:             Label
             346:   178(bool) Phi 338 332 345 339
                              Store 305(b) 346
             347:   178(bool) Load 305(b)
                              SelectionMerge 349 None
                              BranchConditional 347 348 349
             348:               Label
             350:  179(bvec4)   Load 181(ub41)
             351:  179(bvec4)   Load 342(ub42)
             352:  179(bvec4)   LogicalNotEqual 350 351
             353:   178(bool)   Any 352
                                Branch 349
             349:             Label
             354:   178(bool) Phi 347 340 353 348
                              Store 305(b) 354
             355:   178(bool) Load 305(b)
             356:  179(bvec4) Load 181(ub41)
             357:   178(bool) Any 356
             358:   178(bool) LogicalAnd 355 357
                              Store 305(b) 358
             359:   178(bool) Load 305(b)
             360:  179(bvec4) Load 181(ub41)
             361:   178(bool) All 360
             362:   178(bool) LogicalAnd 359 361
                              Store 305(b) 362
             363:   178(bool) Load 305(b)
                              SelectionMerge 365 None
                              BranchConditional 363 364 365
             364:               Label
             366:  179(bvec4)   Load 181(ub41)
             367:  179(bvec4)   LogicalNot 366
             368:   178(bool)   Any 367
                                Branch 365
             365:             Label
             369:   178(bool) Phi 363 349 368 364
                              Store 305(b) 369
             370:     18(int) Load 20(i)
             371:     18(int) Load 22(ui)
             372:     18(int) IAdd 370 371
             373:     18(int) Load 20(i)
             374:     18(int) IMul 372 373
             375:     18(int) Load 22(ui)
             376:     18(int) ISub 374 375
             377:     18(int) Load 20(i)
             378:     18(int) SDiv 376 377
                              Store 20(i) 378
             379:     18(int) Load 20(i)
             380:     18(int) Load 22(ui)
             381:     18(int) SMod 379 380
                              Store 20(i) 381
             382:     18(int) Load 20(i)
             383:     18(int) Load 22(ui)
             384:   178(bool) IEqual 382 383
             385:   178(bool) LogicalNot 384
                              SelectionMerge 387 None
                              BranchConditional 385 386 387
             386:               Label
             388:     18(int)   Load 20(i)
             389:     18(int)   Load 22(ui)
             390:   178(bool)   INotEqual 388 389
                                SelectionMerge 392 None
                                BranchConditional 390 391 392
             391:                 Label
             393:     18(int)     Load 20(i)
             394:     18(int)     Load 22(ui)
             395:   178(bool)     IEqual 393 394
                                  Branch 392
             392:               Label
             396:   178(bool)   Phi 390 386 395 391
             397:     18(int)   Load 20(i)
             399:   178(bool)   INotEqual 397 398
             400:   178(bool)   LogicalNotEqual 396 399
                                Branch 387
             387:             Label
             401:   178(bool) Phi 384 365 400 392
                              SelectionMerge 403 None
                              BranchConditional 401 402 403
             402:               Label
             404:     18(int)   Load 20(i)
             406:     18(int)   IAdd 404 405
                                Store 20(i) 406
                                Branch 403
             403:             Label
             407:    6(float) Load 212(uf)
             408:    6(float) Load 212(uf)
             409:    6(float) FAdd 407 408
             410:    6(float) Load 212(uf)
             411:    6(float) FMul 409 410
             412:    6(float) Load 212(uf)
             413:    6(float) FSub 411 412
             414:    6(float) Load 212(uf)
             415:    6(float) FDiv 413 414
                              Store 188(f) 415
             416:    7(fvec4) Load 9(v)
             417:    6(float) ExtInst 1(GLSL.std.450) 66(Length) 416
             418:    6(float) Load 188(f)
             419:    6(float) FAdd 418 417
                              Store 188(f) 419
             420:    7(fvec4) Load 9(v)
             421:    7(fvec4) Load 9(v)
             422:    6(float) ExtInst 1(GLSL.std.450) 67(Distance) 420 421
             423:    6(float) Load 188(f)
             424:    6(float) FAdd 423 422
                              Store 188(f) 424
             425:    7(fvec4) Load 9(v)
             426:    7(fvec4) Load 9(v)
             427:    6(float) Dot 425 426
             428:    6(float) Load 188(f)
             429:    6(float) FAdd 428 427
                              Store 188(f) 429
             430:    6(float) Load 188(f)
             431:    6(float) Load 212(uf)
             432:    6(float) FMul 430 431
             433:    6(float) Load 188(f)
             434:    6(float) FAdd 433 432
                              Store 188(f) 434
             436:    7(fvec4) Load 9(v)
             437:  435(fvec3) VectorShuffle 436 436 0 1 2
             438:    7(fvec4) Load 9(v)
             439:  435(fvec3) VectorShuffle 438 438 0 1 2
             440:  435(fvec3) ExtInst 1(GLSL.std.450) 68(Cross) 437 439
             441:    6(float) CompositeExtract 440 0
             442:    6(float) Load 188(f)
             443:    6(float) FAdd 442 441
                              Store 188(f) 443
             444:    6(float) Load 188(f)
             445:    6(float) Load 212(uf)
             446:   178(bool) FOrdEqual 444 445
             447:   178(bool) LogicalNot 446
                              SelectionMerge 449 None
                              BranchConditional 447 448 449
             448:               Label
             450:    6(float)   Load 188(f)
             451:    6(float)   Load 212(uf)
             452:   178(bool)   FOrdNotEqual 450 451
             453:    6(float)   Load 188(f)
             455:   178(bool)   FOrdNotEqual 453 454
             456:   178(bool)   LogicalAnd 452 455
                                Branch 449
             449:             Label
             457:   178(bool) Phi 446 403 456 448
                              SelectionMerge 459 None
                              BranchConditional 457 458 459
             458:               Label
             460:    6(float)   Load 188(f)
             462:    6(float)   FAdd 460 461
                                Store 188(f) 462
                                Branch 459
             459:             Label
             463:     18(int) Load 22(ui)
             464:     18(int) Load 20(i)
             465:     18(int) BitwiseAnd 464 463
                              Store 20(i) 465
             467:     18(int) Load 20(i)
             468:     18(int) BitwiseOr 467 466
                              Store 20(i) 468
             469:     18(int) Load 22(ui)
             470:     18(int) Load 20(i)
             471:     18(int) BitwiseXor 470 469
                              Store 20(i) 471
             473:     18(int) Load 20(i)
             474:     18(int) SMod 473 472
                              Store 20(i) 474
             475:     18(int) Load 20(i)
             476:     18(int) ShiftRightArithmetic 475 398
                              Store 20(i) 476
             477:     18(int) Load 22(ui)
             478:     18(int) Load 20(i)
             479:     18(int) ShiftLeftLogical 478 477
                              Store 20(i) 479
             480:     18(int) Load 20(i)
             481:     18(int) Not 480
                              Store 20(i) 481
             482:   178(bool) Load 305(b)
             483:   178(bool) LogicalNot 482
                              Store 305(b) 483
             487:   178(bool) Load 305(b)
                              SelectionMerge 489 None
                              BranchConditional 487 488 498
             488:               Label
             490:     18(int)   Load 20(i)
             491:    6(float)   ConvertSToF 490
             492:    7(fvec4)   CompositeConstruct 491 491 491 491
             493:    6(float)   Load 188(f)
             494:    7(fvec4)   CompositeConstruct 493 493 493 493
             495:    7(fvec4)   FAdd 492 494
             496:    7(fvec4)   Load 9(v)
             497:    7(fvec4)   FAdd 495 496
                                Store 486 497
                                Branch 489
             498:               Label
             499:    7(fvec4)   Load 9(v)
                                Store 486 499
                                Branch 489
             489:             Label
             500:    7(fvec4) Load 486
                              Store 485(FragColor) 500
                              Return
                              FunctionEnd