1spv.Operations.frag
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 583
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Fragment 4  "main" 11 22 220 296 314 539 580
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 359  "b"
30                              Name 396  "ub42"
31                              Name 539  "FragColor"
32                              Name 557  "m1"
33                              Name 564  "m2"
34                              Name 580  "uiv4"
35                              Name 582  "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 539(FragColor) Location 0
45                              Decorate 580(uiv4) Flat
46                              Decorate 580(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             338:    141(int) Constant 1
78             342:    141(int) Constant 2
79             358:             TypePointer Function 186(bool)
80       396(ub42):    188(ptr) Variable Private
81             452:     18(int) Constant 2
82             459:     18(int) Constant 1
83             489:             TypeVector 6(float) 3
84             508:    6(float) Constant 1073741824
85             515:    6(float) Constant 1065353216
86             520:     18(int) Constant 66
87             526:     18(int) Constant 17
88             538:             TypePointer Output 7(fvec4)
89  539(FragColor):    538(ptr) Variable Output
90             555:             TypeMatrix 7(fvec4) 4
91             556:             TypePointer Function 555
92             558:    6(float) Constant 0
93             559:    7(fvec4) ConstantComposite 515 558 558 558
94             560:    7(fvec4) ConstantComposite 558 515 558 558
95             561:    7(fvec4) ConstantComposite 558 558 515 558
96             562:    7(fvec4) ConstantComposite 558 558 558 515
97             563:         555 ConstantComposite 559 560 561 562
98             565:    7(fvec4) ConstantComposite 558 558 558 558
99             566:         555 ConstantComposite 565 565 565 565
100             578:             TypeVector 18(int) 4
101             579:             TypePointer Input 578(ivec4)
102       580(uiv4):    579(ptr) Variable Input
103             581:             TypePointer Private 186(bool)
104         582(ub):    581(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
109155(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
113323(swizzleTemp):    322(ptr) Variable Function
114        324(lsb):    320(ptr) Variable Function
115325(swizzleTemp):    322(ptr) Variable Function
116          359(b):    358(ptr) Variable Function
117             541:      8(ptr) Variable Function
118         557(m1):    556(ptr) Variable Function
119         564(m2):    556(ptr) Variable Function
120             568:    556(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:  312(ivec4) Load 321(msb)
473             332:  312(ivec4) VectorShuffle 331 330 4 5 6 3
474                              Store 321(msb) 332
475             333:  315(ivec3) Load 325(swizzleTemp)
476             334:  312(ivec4) Load 324(lsb)
477             335:  312(ivec4) VectorShuffle 334 333 4 5 6 3
478                              Store 324(lsb) 335
479             336:    292(ptr) AccessChain 321(msb) 142
480             337:    141(int) Load 336
481             339:    292(ptr) AccessChain 321(msb) 338
482             340:    141(int) Load 339
483             341:    141(int) IAdd 337 340
484             343:    292(ptr) AccessChain 321(msb) 342
485             344:    141(int) Load 343
486             345:    141(int) IAdd 341 344
487             346:    141(int) Load 293(u)
488             347:    141(int) IAdd 346 345
489                              Store 293(u) 347
490             348:    292(ptr) AccessChain 324(lsb) 142
491             349:    141(int) Load 348
492             350:    292(ptr) AccessChain 324(lsb) 338
493             351:    141(int) Load 350
494             352:    141(int) IAdd 349 351
495             353:    292(ptr) AccessChain 324(lsb) 342
496             354:    141(int) Load 353
497             355:    141(int) IAdd 352 354
498             356:    141(int) Load 293(u)
499             357:    141(int) IAdd 356 355
500                              Store 293(u) 357
501             360:    6(float) Load 220(uf)
502             361:   186(bool) IsNan 360
503                              Store 359(b) 361
504             362:    6(float) Load 196(f)
505             363:   186(bool) IsInf 362
506                              Store 359(b) 363
507             364:    7(fvec4) Load 9(v)
508             365:    7(fvec4) Load 11(uv4)
509             366:  187(bvec4) FOrdLessThan 364 365
510             367:   186(bool) Any 366
511                              Store 359(b) 367
512             368:   186(bool) Load 359(b)
513                              SelectionMerge 370 None
514                              BranchConditional 368 369 370
515             369:               Label
516             371:    7(fvec4)   Load 9(v)
517             372:    7(fvec4)   Load 11(uv4)
518             373:  187(bvec4)   FOrdLessThanEqual 371 372
519             374:   186(bool)   Any 373
520                                Branch 370
521             370:             Label
522             375:   186(bool) Phi 368 5 374 369
523                              Store 359(b) 375
524             376:   186(bool) Load 359(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)   FOrdGreaterThan 379 380
531             382:   186(bool)   Any 381
532                                Branch 378
533             378:             Label
534             383:   186(bool) Phi 376 370 382 377
535                              Store 359(b) 383
536             384:   186(bool) Load 359(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)   FOrdGreaterThanEqual 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 359(b) 391
548             392:   186(bool) Load 359(b)
549                              SelectionMerge 394 None
550                              BranchConditional 392 393 394
551             393:               Label
552             395:  187(bvec4)   Load 189(ub41)
553             397:  187(bvec4)   Load 396(ub42)
554             398:  187(bvec4)   LogicalEqual 395 397
555             399:   186(bool)   Any 398
556                                Branch 394
557             394:             Label
558             400:   186(bool) Phi 392 386 399 393
559                              Store 359(b) 400
560             401:   186(bool) Load 359(b)
561                              SelectionMerge 403 None
562                              BranchConditional 401 402 403
563             402:               Label
564             404:  187(bvec4)   Load 189(ub41)
565             405:  187(bvec4)   Load 396(ub42)
566             406:  187(bvec4)   LogicalNotEqual 404 405
567             407:   186(bool)   Any 406
568                                Branch 403
569             403:             Label
570             408:   186(bool) Phi 401 394 407 402
571                              Store 359(b) 408
572             409:   186(bool) Load 359(b)
573             410:  187(bvec4) Load 189(ub41)
574             411:   186(bool) Any 410
575             412:   186(bool) LogicalAnd 409 411
576                              Store 359(b) 412
577             413:   186(bool) Load 359(b)
578             414:  187(bvec4) Load 189(ub41)
579             415:   186(bool) All 414
580             416:   186(bool) LogicalAnd 413 415
581                              Store 359(b) 416
582             417:   186(bool) Load 359(b)
583                              SelectionMerge 419 None
584                              BranchConditional 417 418 419
585             418:               Label
586             420:  187(bvec4)   Load 189(ub41)
587             421:  187(bvec4)   LogicalNot 420
588             422:   186(bool)   Any 421
589                                Branch 419
590             419:             Label
591             423:   186(bool) Phi 417 403 422 418
592                              Store 359(b) 423
593             424:     18(int) Load 20(i)
594             425:     18(int) Load 22(ui)
595             426:     18(int) IAdd 424 425
596             427:     18(int) Load 20(i)
597             428:     18(int) IMul 426 427
598             429:     18(int) Load 22(ui)
599             430:     18(int) ISub 428 429
600             431:     18(int) Load 20(i)
601             432:     18(int) SDiv 430 431
602                              Store 20(i) 432
603             433:     18(int) Load 20(i)
604             434:     18(int) Load 22(ui)
605             435:     18(int) SMod 433 434
606                              Store 20(i) 435
607             436:     18(int) Load 20(i)
608             437:     18(int) Load 22(ui)
609             438:   186(bool) IEqual 436 437
610             439:   186(bool) LogicalNot 438
611                              SelectionMerge 441 None
612                              BranchConditional 439 440 441
613             440:               Label
614             442:     18(int)   Load 20(i)
615             443:     18(int)   Load 22(ui)
616             444:   186(bool)   INotEqual 442 443
617                                SelectionMerge 446 None
618                                BranchConditional 444 445 446
619             445:                 Label
620             447:     18(int)     Load 20(i)
621             448:     18(int)     Load 22(ui)
622             449:   186(bool)     IEqual 447 448
623                                  Branch 446
624             446:               Label
625             450:   186(bool)   Phi 444 440 449 445
626             451:     18(int)   Load 20(i)
627             453:   186(bool)   INotEqual 451 452
628             454:   186(bool)   LogicalNotEqual 450 453
629                                Branch 441
630             441:             Label
631             455:   186(bool) Phi 438 419 454 446
632                              SelectionMerge 457 None
633                              BranchConditional 455 456 457
634             456:               Label
635             458:     18(int)   Load 20(i)
636             460:     18(int)   IAdd 458 459
637                                Store 20(i) 460
638                                Branch 457
639             457:             Label
640             461:    6(float) Load 220(uf)
641             462:    6(float) Load 220(uf)
642             463:    6(float) FAdd 461 462
643             464:    6(float) Load 220(uf)
644             465:    6(float) FMul 463 464
645             466:    6(float) Load 220(uf)
646             467:    6(float) FSub 465 466
647             468:    6(float) Load 220(uf)
648             469:    6(float) FDiv 467 468
649                              Store 196(f) 469
650             470:    7(fvec4) Load 9(v)
651             471:    6(float) ExtInst 1(GLSL.std.450) 66(Length) 470
652             472:    6(float) Load 196(f)
653             473:    6(float) FAdd 472 471
654                              Store 196(f) 473
655             474:    7(fvec4) Load 9(v)
656             475:    7(fvec4) Load 9(v)
657             476:    6(float) ExtInst 1(GLSL.std.450) 67(Distance) 474 475
658             477:    6(float) Load 196(f)
659             478:    6(float) FAdd 477 476
660                              Store 196(f) 478
661             479:    7(fvec4) Load 9(v)
662             480:    7(fvec4) Load 9(v)
663             481:    6(float) Dot 479 480
664             482:    6(float) Load 196(f)
665             483:    6(float) FAdd 482 481
666                              Store 196(f) 483
667             484:    6(float) Load 196(f)
668             485:    6(float) Load 220(uf)
669             486:    6(float) FMul 484 485
670             487:    6(float) Load 196(f)
671             488:    6(float) FAdd 487 486
672                              Store 196(f) 488
673             490:    7(fvec4) Load 9(v)
674             491:  489(fvec3) VectorShuffle 490 490 0 1 2
675             492:    7(fvec4) Load 9(v)
676             493:  489(fvec3) VectorShuffle 492 492 0 1 2
677             494:  489(fvec3) ExtInst 1(GLSL.std.450) 68(Cross) 491 493
678             495:    6(float) CompositeExtract 494 0
679             496:    6(float) Load 196(f)
680             497:    6(float) FAdd 496 495
681                              Store 196(f) 497
682             498:    6(float) Load 196(f)
683             499:    6(float) Load 220(uf)
684             500:   186(bool) FOrdEqual 498 499
685             501:   186(bool) LogicalNot 500
686                              SelectionMerge 503 None
687                              BranchConditional 501 502 503
688             502:               Label
689             504:    6(float)   Load 196(f)
690             505:    6(float)   Load 220(uf)
691             506:   186(bool)   FUnordNotEqual 504 505
692             507:    6(float)   Load 196(f)
693             509:   186(bool)   FUnordNotEqual 507 508
694             510:   186(bool)   LogicalAnd 506 509
695                                Branch 503
696             503:             Label
697             511:   186(bool) Phi 500 457 510 502
698                              SelectionMerge 513 None
699                              BranchConditional 511 512 513
700             512:               Label
701             514:    6(float)   Load 196(f)
702             516:    6(float)   FAdd 514 515
703                                Store 196(f) 516
704                                Branch 513
705             513:             Label
706             517:     18(int) Load 22(ui)
707             518:     18(int) Load 20(i)
708             519:     18(int) BitwiseAnd 518 517
709                              Store 20(i) 519
710             521:     18(int) Load 20(i)
711             522:     18(int) BitwiseOr 521 520
712                              Store 20(i) 522
713             523:     18(int) Load 22(ui)
714             524:     18(int) Load 20(i)
715             525:     18(int) BitwiseXor 524 523
716                              Store 20(i) 525
717             527:     18(int) Load 20(i)
718             528:     18(int) SMod 527 526
719                              Store 20(i) 528
720             529:     18(int) Load 20(i)
721             530:     18(int) ShiftRightArithmetic 529 452
722                              Store 20(i) 530
723             531:     18(int) Load 22(ui)
724             532:     18(int) Load 20(i)
725             533:     18(int) ShiftLeftLogical 532 531
726                              Store 20(i) 533
727             534:     18(int) Load 20(i)
728             535:     18(int) Not 534
729                              Store 20(i) 535
730             536:   186(bool) Load 359(b)
731             537:   186(bool) LogicalNot 536
732                              Store 359(b) 537
733             540:   186(bool) Load 359(b)
734                              SelectionMerge 543 None
735                              BranchConditional 540 542 552
736             542:               Label
737             544:     18(int)   Load 20(i)
738             545:    6(float)   ConvertSToF 544
739             546:    7(fvec4)   CompositeConstruct 545 545 545 545
740             547:    6(float)   Load 196(f)
741             548:    7(fvec4)   CompositeConstruct 547 547 547 547
742             549:    7(fvec4)   FAdd 546 548
743             550:    7(fvec4)   Load 9(v)
744             551:    7(fvec4)   FAdd 549 550
745                                Store 541 551
746                                Branch 543
747             552:               Label
748             553:    7(fvec4)   Load 9(v)
749                                Store 541 553
750                                Branch 543
751             543:             Label
752             554:    7(fvec4) Load 541
753                              Store 539(FragColor) 554
754                              Store 557(m1) 563
755                              Store 564(m2) 566
756             567:   186(bool) Load 359(b)
757                              SelectionMerge 570 None
758                              BranchConditional 567 569 572
759             569:               Label
760             571:         555   Load 557(m1)
761                                Store 568 571
762                                Branch 570
763             572:               Label
764             573:         555   Load 564(m2)
765                                Store 568 573
766                                Branch 570
767             570:             Label
768             574:      8(ptr) AccessChain 568 459
769             575:    7(fvec4) Load 574
770             576:    7(fvec4) Load 539(FragColor)
771             577:    7(fvec4) FAdd 576 575
772                              Store 539(FragColor) 577
773                              Return
774                              FunctionEnd
775