f9059c657ab5c3c0aa4f97ce4cfa90055e82b355
[platform/upstream/glslang.git] / Test / baseResults / spv.Operations.frag.out
1 spv.Operations.frag
2 // Module Version 10000
3 // Generated by (magic number): 8000b
4 // Id's are bound by 591
5
6                               Capability Shader
7                1:             ExtInstImport  "GLSL.std.450"
8                               MemoryModel Logical GLSL450
9                               EntryPoint Fragment 4  "main" 11 22 220 296 314 547 588
10                               ExecutionMode 4 OriginUpperLeft
11                               Source GLSL 450
12                               Name 4  "main"
13                               Name 9  "v"
14                               Name 11  "uv4"
15                               Name 20  "i"
16                               Name 22  "ui"
17                               Name 155  "swizzleTemp"
18                               Name 189  "ub41"
19                               Name 196  "f"
20                               Name 220  "uf"
21                               Name 293  "u"
22                               Name 296  "uui"
23                               Name 314  "uuv4"
24                               Name 321  "msb"
25                               Name 323  "swizzleTemp"
26                               Name 324  "lsb"
27                               Name 325  "swizzleTemp"
28                               Name 326  "ResType"
29                               Name 367  "b"
30                               Name 404  "ub42"
31                               Name 547  "FragColor"
32                               Name 565  "m1"
33                               Name 572  "m2"
34                               Name 588  "uiv4"
35                               Name 590  "ub"
36                               Decorate 11(uv4) Location 1
37                               Decorate 22(ui) Flat
38                               Decorate 22(ui) Location 3
39                               Decorate 220(uf) Location 2
40                               Decorate 296(uui) Flat
41                               Decorate 296(uui) Location 5
42                               Decorate 314(uuv4) Flat
43                               Decorate 314(uuv4) Location 4
44                               Decorate 547(FragColor) Location 0
45                               Decorate 588(uiv4) Flat
46                               Decorate 588(uiv4) Location 0
47                2:             TypeVoid
48                3:             TypeFunction 2
49                6:             TypeFloat 32
50                7:             TypeVector 6(float) 4
51                8:             TypePointer Function 7(fvec4)
52               10:             TypePointer Input 7(fvec4)
53          11(uv4):     10(ptr) Variable Input
54               18:             TypeInt 32 1
55               19:             TypePointer Function 18(int)
56               21:             TypePointer Input 18(int)
57           22(ui):     21(ptr) Variable Input
58              141:             TypeInt 32 0
59              142:    141(int) Constant 0
60              143:             TypePointer Function 6(float)
61              186:             TypeBool
62              187:             TypeVector 186(bool) 4
63              188:             TypePointer Private 187(bvec4)
64        189(ub41):    188(ptr) Variable Private
65              219:             TypePointer Input 6(float)
66          220(uf):    219(ptr) Variable Input
67              292:             TypePointer Function 141(int)
68              295:             TypePointer Input 141(int)
69         296(uui):    295(ptr) Variable Input
70              312:             TypeVector 141(int) 4
71              313:             TypePointer Input 312(ivec4)
72        314(uuv4):    313(ptr) Variable Input
73              315:             TypeVector 141(int) 3
74              320:             TypePointer Function 312(ivec4)
75              322:             TypePointer Function 315(ivec3)
76     326(ResType):             TypeStruct 315(ivec3) 315(ivec3)
77              333:    141(int) Constant 1
78              336:    141(int) Constant 2
79              366:             TypePointer Function 186(bool)
80        404(ub42):    188(ptr) Variable Private
81              460:     18(int) Constant 2
82              467:     18(int) Constant 1
83              497:             TypeVector 6(float) 3
84              516:    6(float) Constant 1073741824
85              523:    6(float) Constant 1065353216
86              528:     18(int) Constant 66
87              534:     18(int) Constant 17
88              546:             TypePointer Output 7(fvec4)
89   547(FragColor):    546(ptr) Variable Output
90              563:             TypeMatrix 7(fvec4) 4
91              564:             TypePointer Function 563
92              566:    6(float) Constant 0
93              567:    7(fvec4) ConstantComposite 523 566 566 566
94              568:    7(fvec4) ConstantComposite 566 523 566 566
95              569:    7(fvec4) ConstantComposite 566 566 523 566
96              570:    7(fvec4) ConstantComposite 566 566 566 523
97              571:         563 ConstantComposite 567 568 569 570
98              573:    7(fvec4) ConstantComposite 566 566 566 566
99              574:         563 ConstantComposite 573 573 573 573
100              586:             TypeVector 18(int) 4
101              587:             TypePointer Input 586(ivec4)
102        588(uiv4):    587(ptr) Variable Input
103              589:             TypePointer Private 186(bool)
104          590(ub):    589(ptr) Variable Private
105          4(main):           2 Function None 3
106                5:             Label
107             9(v):      8(ptr) Variable Function
108            20(i):     19(ptr) Variable Function
109 155(swizzleTemp):      8(ptr) Variable Function
110           196(f):    143(ptr) Variable Function
111           293(u):    292(ptr) Variable Function
112         321(msb):    320(ptr) Variable Function
113 323(swizzleTemp):    322(ptr) Variable Function
114         324(lsb):    320(ptr) Variable Function
115 325(swizzleTemp):    322(ptr) Variable Function
116           367(b):    366(ptr) Variable Function
117              549:      8(ptr) Variable Function
118          565(m1):    564(ptr) Variable Function
119          572(m2):    564(ptr) Variable Function
120              576:    564(ptr) Variable Function
121               12:    7(fvec4) Load 11(uv4)
122               13:    7(fvec4) ExtInst 1(GLSL.std.450) 11(Radians) 12
123                               Store 9(v) 13
124               14:    7(fvec4) Load 9(v)
125               15:    7(fvec4) ExtInst 1(GLSL.std.450) 12(Degrees) 14
126               16:    7(fvec4) Load 9(v)
127               17:    7(fvec4) FAdd 16 15
128                               Store 9(v) 17
129               23:     18(int) Load 22(ui)
130               24:     18(int) Load 22(ui)
131               25:     18(int) IMul 23 24
132                               Store 20(i) 25
133               26:    7(fvec4) Load 9(v)
134               27:    7(fvec4) ExtInst 1(GLSL.std.450) 13(Sin) 26
135               28:    7(fvec4) Load 9(v)
136               29:    7(fvec4) FAdd 28 27
137                               Store 9(v) 29
138               30:    7(fvec4) Load 9(v)
139               31:    7(fvec4) ExtInst 1(GLSL.std.450) 14(Cos) 30
140               32:    7(fvec4) Load 9(v)
141               33:    7(fvec4) FAdd 32 31
142                               Store 9(v) 33
143               34:    7(fvec4) Load 9(v)
144               35:    7(fvec4) ExtInst 1(GLSL.std.450) 15(Tan) 34
145               36:    7(fvec4) Load 9(v)
146               37:    7(fvec4) FAdd 36 35
147                               Store 9(v) 37
148               38:    7(fvec4) Load 9(v)
149               39:    7(fvec4) ExtInst 1(GLSL.std.450) 16(Asin) 38
150               40:    7(fvec4) Load 9(v)
151               41:    7(fvec4) FAdd 40 39
152                               Store 9(v) 41
153               42:    7(fvec4) Load 9(v)
154               43:    7(fvec4) ExtInst 1(GLSL.std.450) 17(Acos) 42
155               44:    7(fvec4) Load 9(v)
156               45:    7(fvec4) FAdd 44 43
157                               Store 9(v) 45
158               46:    7(fvec4) Load 9(v)
159               47:    7(fvec4) ExtInst 1(GLSL.std.450) 18(Atan) 46
160               48:    7(fvec4) Load 9(v)
161               49:    7(fvec4) FAdd 48 47
162                               Store 9(v) 49
163               50:    7(fvec4) Load 9(v)
164               51:    7(fvec4) ExtInst 1(GLSL.std.450) 19(Sinh) 50
165               52:    7(fvec4) Load 9(v)
166               53:    7(fvec4) FAdd 52 51
167                               Store 9(v) 53
168               54:    7(fvec4) Load 9(v)
169               55:    7(fvec4) ExtInst 1(GLSL.std.450) 20(Cosh) 54
170               56:    7(fvec4) Load 9(v)
171               57:    7(fvec4) FAdd 56 55
172                               Store 9(v) 57
173               58:    7(fvec4) Load 9(v)
174               59:    7(fvec4) ExtInst 1(GLSL.std.450) 21(Tanh) 58
175               60:    7(fvec4) Load 9(v)
176               61:    7(fvec4) FAdd 60 59
177                               Store 9(v) 61
178               62:    7(fvec4) Load 9(v)
179               63:    7(fvec4) ExtInst 1(GLSL.std.450) 22(Asinh) 62
180               64:    7(fvec4) Load 9(v)
181               65:    7(fvec4) FAdd 64 63
182                               Store 9(v) 65
183               66:    7(fvec4) Load 9(v)
184               67:    7(fvec4) ExtInst 1(GLSL.std.450) 23(Acosh) 66
185               68:    7(fvec4) Load 9(v)
186               69:    7(fvec4) FAdd 68 67
187                               Store 9(v) 69
188               70:    7(fvec4) Load 9(v)
189               71:    7(fvec4) ExtInst 1(GLSL.std.450) 24(Atanh) 70
190               72:    7(fvec4) Load 9(v)
191               73:    7(fvec4) FAdd 72 71
192                               Store 9(v) 73
193               74:    7(fvec4) Load 9(v)
194               75:    7(fvec4) Load 9(v)
195               76:    7(fvec4) ExtInst 1(GLSL.std.450) 26(Pow) 74 75
196               77:    7(fvec4) Load 9(v)
197               78:    7(fvec4) FAdd 77 76
198                               Store 9(v) 78
199               79:    7(fvec4) Load 9(v)
200               80:    7(fvec4) ExtInst 1(GLSL.std.450) 27(Exp) 79
201               81:    7(fvec4) Load 9(v)
202               82:    7(fvec4) FAdd 81 80
203                               Store 9(v) 82
204               83:    7(fvec4) Load 9(v)
205               84:    7(fvec4) ExtInst 1(GLSL.std.450) 28(Log) 83
206               85:    7(fvec4) Load 9(v)
207               86:    7(fvec4) FAdd 85 84
208                               Store 9(v) 86
209               87:    7(fvec4) Load 9(v)
210               88:    7(fvec4) ExtInst 1(GLSL.std.450) 29(Exp2) 87
211               89:    7(fvec4) Load 9(v)
212               90:    7(fvec4) FAdd 89 88
213                               Store 9(v) 90
214               91:    7(fvec4) Load 9(v)
215               92:    7(fvec4) ExtInst 1(GLSL.std.450) 30(Log2) 91
216               93:    7(fvec4) Load 9(v)
217               94:    7(fvec4) FAdd 93 92
218                               Store 9(v) 94
219               95:    7(fvec4) Load 9(v)
220               96:    7(fvec4) ExtInst 1(GLSL.std.450) 31(Sqrt) 95
221               97:    7(fvec4) Load 9(v)
222               98:    7(fvec4) FAdd 97 96
223                               Store 9(v) 98
224               99:    7(fvec4) Load 9(v)
225              100:    7(fvec4) ExtInst 1(GLSL.std.450) 32(InverseSqrt) 99
226              101:    7(fvec4) Load 9(v)
227              102:    7(fvec4) FAdd 101 100
228                               Store 9(v) 102
229              103:    7(fvec4) Load 9(v)
230              104:    7(fvec4) ExtInst 1(GLSL.std.450) 4(FAbs) 103
231              105:    7(fvec4) Load 9(v)
232              106:    7(fvec4) FAdd 105 104
233                               Store 9(v) 106
234              107:    7(fvec4) Load 9(v)
235              108:    7(fvec4) ExtInst 1(GLSL.std.450) 6(FSign) 107
236              109:    7(fvec4) Load 9(v)
237              110:    7(fvec4) FAdd 109 108
238                               Store 9(v) 110
239              111:    7(fvec4) Load 9(v)
240              112:    7(fvec4) ExtInst 1(GLSL.std.450) 8(Floor) 111
241              113:    7(fvec4) Load 9(v)
242              114:    7(fvec4) FAdd 113 112
243                               Store 9(v) 114
244              115:    7(fvec4) Load 9(v)
245              116:    7(fvec4) ExtInst 1(GLSL.std.450) 3(Trunc) 115
246              117:    7(fvec4) Load 9(v)
247              118:    7(fvec4) FAdd 117 116
248                               Store 9(v) 118
249              119:    7(fvec4) Load 9(v)
250              120:    7(fvec4) ExtInst 1(GLSL.std.450) 1(Round) 119
251              121:    7(fvec4) Load 9(v)
252              122:    7(fvec4) FAdd 121 120
253                               Store 9(v) 122
254              123:    7(fvec4) Load 9(v)
255              124:    7(fvec4) ExtInst 1(GLSL.std.450) 2(RoundEven) 123
256              125:    7(fvec4) Load 9(v)
257              126:    7(fvec4) FAdd 125 124
258                               Store 9(v) 126
259              127:    7(fvec4) Load 9(v)
260              128:    7(fvec4) ExtInst 1(GLSL.std.450) 9(Ceil) 127
261              129:    7(fvec4) Load 9(v)
262              130:    7(fvec4) FAdd 129 128
263                               Store 9(v) 130
264              131:    7(fvec4) Load 9(v)
265              132:    7(fvec4) ExtInst 1(GLSL.std.450) 10(Fract) 131
266              133:    7(fvec4) Load 9(v)
267              134:    7(fvec4) FAdd 133 132
268                               Store 9(v) 134
269              135:    7(fvec4) Load 9(v)
270              136:    7(fvec4) Load 9(v)
271              137:    7(fvec4) FMod 135 136
272              138:    7(fvec4) Load 9(v)
273              139:    7(fvec4) FAdd 138 137
274                               Store 9(v) 139
275              140:    7(fvec4) Load 9(v)
276              144:    143(ptr) AccessChain 9(v) 142
277              145:    6(float) Load 144
278              146:    7(fvec4) CompositeConstruct 145 145 145 145
279              147:    7(fvec4) FMod 140 146
280              148:    7(fvec4) Load 9(v)
281              149:    7(fvec4) FAdd 148 147
282                               Store 9(v) 149
283              150:    7(fvec4) Load 9(v)
284              151:    7(fvec4) ExtInst 1(GLSL.std.450) 35(Modf) 150 9(v)
285              152:    7(fvec4) Load 9(v)
286              153:    7(fvec4) FAdd 152 151
287                               Store 9(v) 153
288              154:    7(fvec4) Load 9(v)
289              156:    7(fvec4) ExtInst 1(GLSL.std.450) 35(Modf) 154 155(swizzleTemp)
290              157:    7(fvec4) Load 155(swizzleTemp)
291              158:    7(fvec4) Load 9(v)
292              159:    7(fvec4) VectorShuffle 158 157 6 4 5 7
293                               Store 9(v) 159
294              160:    7(fvec4) Load 9(v)
295              161:    7(fvec4) FAdd 160 156
296                               Store 9(v) 161
297              162:    7(fvec4) Load 9(v)
298              163:    7(fvec4) Load 11(uv4)
299              164:    7(fvec4) ExtInst 1(GLSL.std.450) 37(FMin) 162 163
300              165:    7(fvec4) Load 9(v)
301              166:    7(fvec4) FAdd 165 164
302                               Store 9(v) 166
303              167:    7(fvec4) Load 9(v)
304              168:    7(fvec4) Load 11(uv4)
305              169:    7(fvec4) ExtInst 1(GLSL.std.450) 40(FMax) 167 168
306              170:    7(fvec4) Load 9(v)
307              171:    7(fvec4) FAdd 170 169
308                               Store 9(v) 171
309              172:    7(fvec4) Load 9(v)
310              173:    7(fvec4) Load 11(uv4)
311              174:    7(fvec4) Load 11(uv4)
312              175:    7(fvec4) ExtInst 1(GLSL.std.450) 43(FClamp) 172 173 174
313              176:    7(fvec4) Load 9(v)
314              177:    7(fvec4) FAdd 176 175
315                               Store 9(v) 177
316              178:    7(fvec4) Load 9(v)
317              179:    7(fvec4) Load 9(v)
318              180:    7(fvec4) Load 9(v)
319              181:    7(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 178 179 180
320              182:    7(fvec4) Load 9(v)
321              183:    7(fvec4) FAdd 182 181
322                               Store 9(v) 183
323              184:    7(fvec4) Load 9(v)
324              185:    7(fvec4) Load 9(v)
325              190:  187(bvec4) Load 189(ub41)
326              191:    7(fvec4) Select 190 185 184
327              192:    7(fvec4) Load 9(v)
328              193:    7(fvec4) FAdd 192 191
329                               Store 9(v) 193
330              194:    7(fvec4) Load 9(v)
331              195:    7(fvec4) Load 9(v)
332              197:    6(float) Load 196(f)
333              198:    7(fvec4) CompositeConstruct 197 197 197 197
334              199:    7(fvec4) ExtInst 1(GLSL.std.450) 46(FMix) 194 195 198
335              200:    7(fvec4) Load 9(v)
336              201:    7(fvec4) FAdd 200 199
337                               Store 9(v) 201
338              202:    7(fvec4) Load 9(v)
339              203:    7(fvec4) Load 11(uv4)
340              204:    7(fvec4) Load 9(v)
341              205:    7(fvec4) ExtInst 1(GLSL.std.450) 50(Fma) 202 203 204
342              206:    7(fvec4) Load 9(v)
343              207:    7(fvec4) FAdd 206 205
344                               Store 9(v) 207
345              208:    7(fvec4) Load 9(v)
346              209:    7(fvec4) Load 9(v)
347              210:    7(fvec4) ExtInst 1(GLSL.std.450) 48(Step) 208 209
348              211:    7(fvec4) Load 9(v)
349              212:    7(fvec4) FAdd 211 210
350                               Store 9(v) 212
351              213:    7(fvec4) Load 9(v)
352              214:    7(fvec4) Load 9(v)
353              215:    7(fvec4) Load 9(v)
354              216:    7(fvec4) ExtInst 1(GLSL.std.450) 49(SmoothStep) 213 214 215
355              217:    7(fvec4) Load 9(v)
356              218:    7(fvec4) FAdd 217 216
357                               Store 9(v) 218
358              221:    6(float) Load 220(uf)
359              222:    7(fvec4) Load 9(v)
360              223:    7(fvec4) CompositeConstruct 221 221 221 221
361              224:    7(fvec4) ExtInst 1(GLSL.std.450) 48(Step) 223 222
362              225:    7(fvec4) Load 9(v)
363              226:    7(fvec4) FAdd 225 224
364                               Store 9(v) 226
365              227:    6(float) Load 220(uf)
366              228:    6(float) Load 220(uf)
367              229:    7(fvec4) Load 9(v)
368              230:    7(fvec4) CompositeConstruct 227 227 227 227
369              231:    7(fvec4) CompositeConstruct 228 228 228 228
370              232:    7(fvec4) ExtInst 1(GLSL.std.450) 49(SmoothStep) 230 231 229
371              233:    7(fvec4) Load 9(v)
372              234:    7(fvec4) FAdd 233 232
373                               Store 9(v) 234
374              235:    7(fvec4) Load 9(v)
375              236:    7(fvec4) ExtInst 1(GLSL.std.450) 69(Normalize) 235
376              237:    7(fvec4) Load 9(v)
377              238:    7(fvec4) FAdd 237 236
378                               Store 9(v) 238
379              239:    7(fvec4) Load 9(v)
380              240:    7(fvec4) Load 9(v)
381              241:    7(fvec4) Load 9(v)
382              242:    7(fvec4) ExtInst 1(GLSL.std.450) 70(FaceForward) 239 240 241
383              243:    7(fvec4) Load 9(v)
384              244:    7(fvec4) FAdd 243 242
385                               Store 9(v) 244
386              245:    7(fvec4) Load 9(v)
387              246:    7(fvec4) Load 9(v)
388              247:    7(fvec4) ExtInst 1(GLSL.std.450) 71(Reflect) 245 246
389              248:    7(fvec4) Load 9(v)
390              249:    7(fvec4) FAdd 248 247
391                               Store 9(v) 249
392              250:    7(fvec4) Load 9(v)
393              251:    7(fvec4) Load 9(v)
394              252:    6(float) Load 220(uf)
395              253:    7(fvec4) ExtInst 1(GLSL.std.450) 72(Refract) 250 251 252
396              254:    7(fvec4) Load 9(v)
397              255:    7(fvec4) FAdd 254 253
398                               Store 9(v) 255
399              256:    7(fvec4) Load 9(v)
400              257:    7(fvec4) DPdx 256
401              258:    7(fvec4) Load 9(v)
402              259:    7(fvec4) FAdd 258 257
403                               Store 9(v) 259
404              260:    7(fvec4) Load 9(v)
405              261:    7(fvec4) DPdy 260
406              262:    7(fvec4) Load 9(v)
407              263:    7(fvec4) FAdd 262 261
408                               Store 9(v) 263
409              264:    7(fvec4) Load 9(v)
410              265:    7(fvec4) Fwidth 264
411              266:    7(fvec4) Load 9(v)
412              267:    7(fvec4) FAdd 266 265
413                               Store 9(v) 267
414              268:     18(int) Load 22(ui)
415              269:     18(int) ExtInst 1(GLSL.std.450) 5(SAbs) 268
416              270:     18(int) Load 20(i)
417              271:     18(int) IAdd 270 269
418                               Store 20(i) 271
419              272:     18(int) Load 20(i)
420              273:     18(int) ExtInst 1(GLSL.std.450) 7(SSign) 272
421              274:     18(int) Load 20(i)
422              275:     18(int) IAdd 274 273
423                               Store 20(i) 275
424              276:     18(int) Load 20(i)
425              277:     18(int) Load 22(ui)
426              278:     18(int) ExtInst 1(GLSL.std.450) 39(SMin) 276 277
427              279:     18(int) Load 20(i)
428              280:     18(int) IAdd 279 278
429                               Store 20(i) 280
430              281:     18(int) Load 20(i)
431              282:     18(int) Load 22(ui)
432              283:     18(int) ExtInst 1(GLSL.std.450) 42(SMax) 281 282
433              284:     18(int) Load 20(i)
434              285:     18(int) IAdd 284 283
435                               Store 20(i) 285
436              286:     18(int) Load 20(i)
437              287:     18(int) Load 22(ui)
438              288:     18(int) Load 22(ui)
439              289:     18(int) ExtInst 1(GLSL.std.450) 45(SClamp) 286 287 288
440              290:     18(int) Load 20(i)
441              291:     18(int) IAdd 290 289
442                               Store 20(i) 291
443              294:    141(int) Load 293(u)
444              297:    141(int) Load 296(uui)
445              298:    141(int) ExtInst 1(GLSL.std.450) 38(UMin) 294 297
446              299:    141(int) Load 293(u)
447              300:    141(int) IAdd 299 298
448                               Store 293(u) 300
449              301:    141(int) Load 293(u)
450              302:    141(int) Load 296(uui)
451              303:    141(int) ExtInst 1(GLSL.std.450) 41(UMax) 301 302
452              304:    141(int) Load 293(u)
453              305:    141(int) IAdd 304 303
454                               Store 293(u) 305
455              306:    141(int) Load 293(u)
456              307:    141(int) Load 296(uui)
457              308:    141(int) Load 296(uui)
458              309:    141(int) ExtInst 1(GLSL.std.450) 44(UClamp) 306 307 308
459              310:    141(int) Load 293(u)
460              311:    141(int) IAdd 310 309
461                               Store 293(u) 311
462              316:  312(ivec4) Load 314(uuv4)
463              317:  315(ivec3) VectorShuffle 316 316 0 1 2
464              318:  312(ivec4) Load 314(uuv4)
465              319:  315(ivec3) VectorShuffle 318 318 0 1 2
466              327:326(ResType) UMulExtended 317 319
467              328:  315(ivec3) CompositeExtract 327 0
468                               Store 325(swizzleTemp) 328
469              329:  315(ivec3) CompositeExtract 327 1
470                               Store 323(swizzleTemp) 329
471              330:  315(ivec3) Load 323(swizzleTemp)
472              331:    292(ptr) AccessChain 321(msb) 142
473              332:    141(int) CompositeExtract 330 0
474                               Store 331 332
475              334:    292(ptr) AccessChain 321(msb) 333
476              335:    141(int) CompositeExtract 330 1
477                               Store 334 335
478              337:    292(ptr) AccessChain 321(msb) 336
479              338:    141(int) CompositeExtract 330 2
480                               Store 337 338
481              339:  315(ivec3) Load 325(swizzleTemp)
482              340:    292(ptr) AccessChain 324(lsb) 142
483              341:    141(int) CompositeExtract 339 0
484                               Store 340 341
485              342:    292(ptr) AccessChain 324(lsb) 333
486              343:    141(int) CompositeExtract 339 1
487                               Store 342 343
488              344:    292(ptr) AccessChain 324(lsb) 336
489              345:    141(int) CompositeExtract 339 2
490                               Store 344 345
491              346:    292(ptr) AccessChain 321(msb) 142
492              347:    141(int) Load 346
493              348:    292(ptr) AccessChain 321(msb) 333
494              349:    141(int) Load 348
495              350:    141(int) IAdd 347 349
496              351:    292(ptr) AccessChain 321(msb) 336
497              352:    141(int) Load 351
498              353:    141(int) IAdd 350 352
499              354:    141(int) Load 293(u)
500              355:    141(int) IAdd 354 353
501                               Store 293(u) 355
502              356:    292(ptr) AccessChain 324(lsb) 142
503              357:    141(int) Load 356
504              358:    292(ptr) AccessChain 324(lsb) 333
505              359:    141(int) Load 358
506              360:    141(int) IAdd 357 359
507              361:    292(ptr) AccessChain 324(lsb) 336
508              362:    141(int) Load 361
509              363:    141(int) IAdd 360 362
510              364:    141(int) Load 293(u)
511              365:    141(int) IAdd 364 363
512                               Store 293(u) 365
513              368:    6(float) Load 220(uf)
514              369:   186(bool) IsNan 368
515                               Store 367(b) 369
516              370:    6(float) Load 196(f)
517              371:   186(bool) IsInf 370
518                               Store 367(b) 371
519              372:    7(fvec4) Load 9(v)
520              373:    7(fvec4) Load 11(uv4)
521              374:  187(bvec4) FOrdLessThan 372 373
522              375:   186(bool) Any 374
523                               Store 367(b) 375
524              376:   186(bool) Load 367(b)
525                               SelectionMerge 378 None
526                               BranchConditional 376 377 378
527              377:               Label
528              379:    7(fvec4)   Load 9(v)
529              380:    7(fvec4)   Load 11(uv4)
530              381:  187(bvec4)   FOrdLessThanEqual 379 380
531              382:   186(bool)   Any 381
532                                 Branch 378
533              378:             Label
534              383:   186(bool) Phi 376 5 382 377
535                               Store 367(b) 383
536              384:   186(bool) Load 367(b)
537                               SelectionMerge 386 None
538                               BranchConditional 384 385 386
539              385:               Label
540              387:    7(fvec4)   Load 9(v)
541              388:    7(fvec4)   Load 11(uv4)
542              389:  187(bvec4)   FOrdGreaterThan 387 388
543              390:   186(bool)   Any 389
544                                 Branch 386
545              386:             Label
546              391:   186(bool) Phi 384 378 390 385
547                               Store 367(b) 391
548              392:   186(bool) Load 367(b)
549                               SelectionMerge 394 None
550                               BranchConditional 392 393 394
551              393:               Label
552              395:    7(fvec4)   Load 9(v)
553              396:    7(fvec4)   Load 11(uv4)
554              397:  187(bvec4)   FOrdGreaterThanEqual 395 396
555              398:   186(bool)   Any 397
556                                 Branch 394
557              394:             Label
558              399:   186(bool) Phi 392 386 398 393
559                               Store 367(b) 399
560              400:   186(bool) Load 367(b)
561                               SelectionMerge 402 None
562                               BranchConditional 400 401 402
563              401:               Label
564              403:  187(bvec4)   Load 189(ub41)
565              405:  187(bvec4)   Load 404(ub42)
566              406:  187(bvec4)   LogicalEqual 403 405
567              407:   186(bool)   Any 406
568                                 Branch 402
569              402:             Label
570              408:   186(bool) Phi 400 394 407 401
571                               Store 367(b) 408
572              409:   186(bool) Load 367(b)
573                               SelectionMerge 411 None
574                               BranchConditional 409 410 411
575              410:               Label
576              412:  187(bvec4)   Load 189(ub41)
577              413:  187(bvec4)   Load 404(ub42)
578              414:  187(bvec4)   LogicalNotEqual 412 413
579              415:   186(bool)   Any 414
580                                 Branch 411
581              411:             Label
582              416:   186(bool) Phi 409 402 415 410
583                               Store 367(b) 416
584              417:   186(bool) Load 367(b)
585              418:  187(bvec4) Load 189(ub41)
586              419:   186(bool) Any 418
587              420:   186(bool) LogicalAnd 417 419
588                               Store 367(b) 420
589              421:   186(bool) Load 367(b)
590              422:  187(bvec4) Load 189(ub41)
591              423:   186(bool) All 422
592              424:   186(bool) LogicalAnd 421 423
593                               Store 367(b) 424
594              425:   186(bool) Load 367(b)
595                               SelectionMerge 427 None
596                               BranchConditional 425 426 427
597              426:               Label
598              428:  187(bvec4)   Load 189(ub41)
599              429:  187(bvec4)   LogicalNot 428
600              430:   186(bool)   Any 429
601                                 Branch 427
602              427:             Label
603              431:   186(bool) Phi 425 411 430 426
604                               Store 367(b) 431
605              432:     18(int) Load 20(i)
606              433:     18(int) Load 22(ui)
607              434:     18(int) IAdd 432 433
608              435:     18(int) Load 20(i)
609              436:     18(int) IMul 434 435
610              437:     18(int) Load 22(ui)
611              438:     18(int) ISub 436 437
612              439:     18(int) Load 20(i)
613              440:     18(int) SDiv 438 439
614                               Store 20(i) 440
615              441:     18(int) Load 20(i)
616              442:     18(int) Load 22(ui)
617              443:     18(int) SMod 441 442
618                               Store 20(i) 443
619              444:     18(int) Load 20(i)
620              445:     18(int) Load 22(ui)
621              446:   186(bool) IEqual 444 445
622              447:   186(bool) LogicalNot 446
623                               SelectionMerge 449 None
624                               BranchConditional 447 448 449
625              448:               Label
626              450:     18(int)   Load 20(i)
627              451:     18(int)   Load 22(ui)
628              452:   186(bool)   INotEqual 450 451
629                                 SelectionMerge 454 None
630                                 BranchConditional 452 453 454
631              453:                 Label
632              455:     18(int)     Load 20(i)
633              456:     18(int)     Load 22(ui)
634              457:   186(bool)     IEqual 455 456
635                                   Branch 454
636              454:               Label
637              458:   186(bool)   Phi 452 448 457 453
638              459:     18(int)   Load 20(i)
639              461:   186(bool)   INotEqual 459 460
640              462:   186(bool)   LogicalNotEqual 458 461
641                                 Branch 449
642              449:             Label
643              463:   186(bool) Phi 446 427 462 454
644                               SelectionMerge 465 None
645                               BranchConditional 463 464 465
646              464:               Label
647              466:     18(int)   Load 20(i)
648              468:     18(int)   IAdd 466 467
649                                 Store 20(i) 468
650                                 Branch 465
651              465:             Label
652              469:    6(float) Load 220(uf)
653              470:    6(float) Load 220(uf)
654              471:    6(float) FAdd 469 470
655              472:    6(float) Load 220(uf)
656              473:    6(float) FMul 471 472
657              474:    6(float) Load 220(uf)
658              475:    6(float) FSub 473 474
659              476:    6(float) Load 220(uf)
660              477:    6(float) FDiv 475 476
661                               Store 196(f) 477
662              478:    7(fvec4) Load 9(v)
663              479:    6(float) ExtInst 1(GLSL.std.450) 66(Length) 478
664              480:    6(float) Load 196(f)
665              481:    6(float) FAdd 480 479
666                               Store 196(f) 481
667              482:    7(fvec4) Load 9(v)
668              483:    7(fvec4) Load 9(v)
669              484:    6(float) ExtInst 1(GLSL.std.450) 67(Distance) 482 483
670              485:    6(float) Load 196(f)
671              486:    6(float) FAdd 485 484
672                               Store 196(f) 486
673              487:    7(fvec4) Load 9(v)
674              488:    7(fvec4) Load 9(v)
675              489:    6(float) Dot 487 488
676              490:    6(float) Load 196(f)
677              491:    6(float) FAdd 490 489
678                               Store 196(f) 491
679              492:    6(float) Load 196(f)
680              493:    6(float) Load 220(uf)
681              494:    6(float) FMul 492 493
682              495:    6(float) Load 196(f)
683              496:    6(float) FAdd 495 494
684                               Store 196(f) 496
685              498:    7(fvec4) Load 9(v)
686              499:  497(fvec3) VectorShuffle 498 498 0 1 2
687              500:    7(fvec4) Load 9(v)
688              501:  497(fvec3) VectorShuffle 500 500 0 1 2
689              502:  497(fvec3) ExtInst 1(GLSL.std.450) 68(Cross) 499 501
690              503:    6(float) CompositeExtract 502 0
691              504:    6(float) Load 196(f)
692              505:    6(float) FAdd 504 503
693                               Store 196(f) 505
694              506:    6(float) Load 196(f)
695              507:    6(float) Load 220(uf)
696              508:   186(bool) FOrdEqual 506 507
697              509:   186(bool) LogicalNot 508
698                               SelectionMerge 511 None
699                               BranchConditional 509 510 511
700              510:               Label
701              512:    6(float)   Load 196(f)
702              513:    6(float)   Load 220(uf)
703              514:   186(bool)   FUnordNotEqual 512 513
704              515:    6(float)   Load 196(f)
705              517:   186(bool)   FUnordNotEqual 515 516
706              518:   186(bool)   LogicalAnd 514 517
707                                 Branch 511
708              511:             Label
709              519:   186(bool) Phi 508 465 518 510
710                               SelectionMerge 521 None
711                               BranchConditional 519 520 521
712              520:               Label
713              522:    6(float)   Load 196(f)
714              524:    6(float)   FAdd 522 523
715                                 Store 196(f) 524
716                                 Branch 521
717              521:             Label
718              525:     18(int) Load 22(ui)
719              526:     18(int) Load 20(i)
720              527:     18(int) BitwiseAnd 526 525
721                               Store 20(i) 527
722              529:     18(int) Load 20(i)
723              530:     18(int) BitwiseOr 529 528
724                               Store 20(i) 530
725              531:     18(int) Load 22(ui)
726              532:     18(int) Load 20(i)
727              533:     18(int) BitwiseXor 532 531
728                               Store 20(i) 533
729              535:     18(int) Load 20(i)
730              536:     18(int) SMod 535 534
731                               Store 20(i) 536
732              537:     18(int) Load 20(i)
733              538:     18(int) ShiftRightArithmetic 537 460
734                               Store 20(i) 538
735              539:     18(int) Load 22(ui)
736              540:     18(int) Load 20(i)
737              541:     18(int) ShiftLeftLogical 540 539
738                               Store 20(i) 541
739              542:     18(int) Load 20(i)
740              543:     18(int) Not 542
741                               Store 20(i) 543
742              544:   186(bool) Load 367(b)
743              545:   186(bool) LogicalNot 544
744                               Store 367(b) 545
745              548:   186(bool) Load 367(b)
746                               SelectionMerge 551 None
747                               BranchConditional 548 550 560
748              550:               Label
749              552:     18(int)   Load 20(i)
750              553:    6(float)   ConvertSToF 552
751              554:    7(fvec4)   CompositeConstruct 553 553 553 553
752              555:    6(float)   Load 196(f)
753              556:    7(fvec4)   CompositeConstruct 555 555 555 555
754              557:    7(fvec4)   FAdd 554 556
755              558:    7(fvec4)   Load 9(v)
756              559:    7(fvec4)   FAdd 557 558
757                                 Store 549 559
758                                 Branch 551
759              560:               Label
760              561:    7(fvec4)   Load 9(v)
761                                 Store 549 561
762                                 Branch 551
763              551:             Label
764              562:    7(fvec4) Load 549
765                               Store 547(FragColor) 562
766                               Store 565(m1) 571
767                               Store 572(m2) 574
768              575:   186(bool) Load 367(b)
769                               SelectionMerge 578 None
770                               BranchConditional 575 577 580
771              577:               Label
772              579:         563   Load 565(m1)
773                                 Store 576 579
774                                 Branch 578
775              580:               Label
776              581:         563   Load 572(m2)
777                                 Store 576 581
778                                 Branch 578
779              578:             Label
780              582:      8(ptr) AccessChain 576 467
781              583:    7(fvec4) Load 582
782              584:    7(fvec4) Load 547(FragColor)
783              585:    7(fvec4) FAdd 584 583
784                               Store 547(FragColor) 585
785                               Return
786                               FunctionEnd