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