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