xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/spv.float64.frag.out (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1spv.float64.frag
2Validation failed
3// Module Version 10300
4// Generated by (magic number): 8000b
5// Id's are bound by 488
6
7                              Capability Shader
8                              Capability Float16
9                              Capability Float64
10                              Capability Int64
11                              Capability Int16
12                              Capability Int8
13                              Capability DerivativeControl
14                              Capability InterpolationFunction
15               1:             ExtInstImport  "GLSL.std.450"
16                              MemoryModel Logical GLSL450
17                              EntryPoint Fragment 4  "main" 417
18                              ExecutionMode 4 OriginUpperLeft
19                              Source GLSL 450
20                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types"
21                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_float16"
22                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_float32"
23                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_float64"
24                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_int16"
25                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_int32"
26                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_int64"
27                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types_int8"
28                              Name 4  "main"
29                              Name 6  "literal("
30                              Name 8  "operators("
31                              Name 10  "typeCast("
32                              Name 12  "builtinTranscendentalFuncs("
33                              Name 14  "builtinCommonFuncs("
34                              Name 16  "builtinGeometryFuncs("
35                              Name 18  "builtinMatrixFuncs("
36                              Name 20  "builtinVecRelFuncs("
37                              Name 22  "builtinFragProcFuncs("
38                              Name 27  "f64v"
39                              Name 38  "f64v"
40                              Name 60  "f64m"
41                              Name 83  "f64"
42                              Name 107  "b"
43                              Name 149  "f64v"
44                              Name 152  "bv"
45                              Name 163  "f16v"
46                              Name 171  "i8v"
47                              Name 177  "i16v"
48                              Name 183  "i32v"
49                              Name 189  "i64v"
50                              Name 195  "u8v"
51                              Name 201  "u16v"
52                              Name 206  "u32v"
53                              Name 212  "u64v"
54                              Name 215  "f64v2"
55                              Name 216  "f64v1"
56                              Name 221  "f64v2"
57                              Name 222  "f64v1"
58                              Name 243  "f64"
59                              Name 247  "f64v3"
60                              Name 249  "ResType"
61                              Name 290  "bv"
62                              Name 311  "b"
63                              Name 321  "iv"
64                              Name 322  "ResType"
65                              Name 329  "f64"
66                              Name 330  "f64v1"
67                              Name 334  "f64v2"
68                              Name 340  "f64v3"
69                              Name 359  "f64m3"
70                              Name 360  "f64m1"
71                              Name 362  "f64m2"
72                              Name 371  "f64v1"
73                              Name 373  "f64v2"
74                              Name 378  "f64m4"
75                              Name 381  "f64"
76                              Name 384  "f64m5"
77                              Name 390  "f64m6"
78                              Name 391  "f64m7"
79                              Name 394  "bv"
80                              Name 395  "f64v1"
81                              Name 397  "f64v2"
82                              Name 415  "f64v"
83                              Name 417  "if64v"
84                              Name 474  "S"
85                              MemberName 474(S) 0  "x"
86                              MemberName 474(S) 1  "y"
87                              MemberName 474(S) 2  "z"
88                              Name 476  "B1"
89                              MemberName 476(B1) 0  "a"
90                              MemberName 476(B1) 1  "b"
91                              MemberName 476(B1) 2  "c"
92                              MemberName 476(B1) 3  "d"
93                              MemberName 476(B1) 4  "e"
94                              MemberName 476(B1) 5  "f"
95                              MemberName 476(B1) 6  "g"
96                              MemberName 476(B1) 7  "h"
97                              Name 478  ""
98                              Name 479  "sf16"
99                              Name 481  "sf"
100                              Name 482  "sd"
101                              Name 483  "f16_to_f"
102                              Name 485  "f16_to_d"
103                              Name 486  "f_to_f16"
104                              Name 487  "d_to_f16"
105                              Decorate 417(if64v) Flat
106                              Decorate 417(if64v) Location 0
107                              Decorate 472 ArrayStride 16
108                              Decorate 473 ArrayStride 64
109                              MemberDecorate 474(S) 0 Offset 0
110                              MemberDecorate 474(S) 1 Offset 16
111                              MemberDecorate 474(S) 2 Offset 32
112                              Decorate 475 ArrayStride 64
113                              Decorate 476(B1) Block
114                              MemberDecorate 476(B1) 0 Offset 0
115                              MemberDecorate 476(B1) 1 Offset 16
116                              MemberDecorate 476(B1) 2 Offset 32
117                              MemberDecorate 476(B1) 3 Offset 64
118                              MemberDecorate 476(B1) 4 ColMajor
119                              MemberDecorate 476(B1) 4 MatrixStride 32
120                              MemberDecorate 476(B1) 4 Offset 96
121                              MemberDecorate 476(B1) 5 ColMajor
122                              MemberDecorate 476(B1) 5 MatrixStride 32
123                              MemberDecorate 476(B1) 5 Offset 160
124                              MemberDecorate 476(B1) 6 Offset 288
125                              MemberDecorate 476(B1) 7 Offset 352
126                              Decorate 478 Binding 0
127                              Decorate 478 DescriptorSet 0
128                              Decorate 479(sf16) SpecId 100
129                              Decorate 481(sf) SpecId 101
130                              Decorate 482(sd) SpecId 102
131               2:             TypeVoid
132               3:             TypeFunction 2
133              24:             TypeFloat 64
134              25:             TypeVector 24(float64_t) 2
135              26:             TypePointer Function 25(f64vec2)
136              28:24(float64_t) Constant 2696277389 1051772663
137              29:             TypeInt 32 0
138              30:     29(int) Constant 0
139              31:             TypePointer Function 24(float64_t)
140              33:24(float64_t) Constant 0 3218079744
141              34:24(float64_t) Constant 3951369912 1067366481
142              35: 25(f64vec2) ConstantComposite 33 34
143              52:24(float64_t) Constant 0 1072693248
144              58:             TypeMatrix 25(f64vec2) 2
145              59:             TypePointer Function 58
146              86:     29(int) Constant 1
147             105:             TypeBool
148             106:             TypePointer Function 105(bool)
149             147:             TypeVector 24(float64_t) 3
150             148:             TypePointer Function 147(f64vec3)
151             150:             TypeVector 105(bool) 3
152             151:             TypePointer Function 150(bvec3)
153             154:24(float64_t) Constant 0 0
154             155:147(f64vec3) ConstantComposite 154 154 154
155             156:147(f64vec3) ConstantComposite 52 52 52
156             160:             TypeFloat 16
157             161:             TypeVector 160(float16_t) 3
158             162:             TypePointer Function 161(f16vec3)
159             168:             TypeInt 8 1
160             169:             TypeVector 168(int8_t) 3
161             170:             TypePointer Function 169(i8vec3)
162             174:             TypeInt 16 1
163             175:             TypeVector 174(int16_t) 3
164             176:             TypePointer Function 175(i16vec3)
165             180:             TypeInt 32 1
166             181:             TypeVector 180(int) 3
167             182:             TypePointer Function 181(ivec3)
168             186:             TypeInt 64 1
169             187:             TypeVector 186(int64_t) 3
170             188:             TypePointer Function 187(i64vec3)
171             192:             TypeInt 8 0
172             193:             TypeVector 192(int8_t) 3
173             194:             TypePointer Function 193(i8vec3)
174             198:             TypeInt 16 0
175             199:             TypeVector 198(int16_t) 3
176             200:             TypePointer Function 199(i16vec3)
177             204:             TypeVector 29(int) 3
178             205:             TypePointer Function 204(ivec3)
179             209:             TypeInt 64 0
180             210:             TypeVector 209(int64_t) 3
181             211:             TypePointer Function 210(i64vec3)
182    249(ResType):             TypeStruct 147(f64vec3) 147(f64vec3)
183    322(ResType):             TypeStruct 147(f64vec3) 181(ivec3)
184             357:             TypeMatrix 147(f64vec3) 2
185             358:             TypePointer Function 357
186             376:             TypeMatrix 25(f64vec2) 3
187             377:             TypePointer Function 376
188             382:             TypeMatrix 147(f64vec3) 3
189             383:             TypePointer Function 382
190             387:             TypeVector 24(float64_t) 4
191             388:             TypeMatrix 387(f64vec4) 4
192             389:             TypePointer Function 388
193             416:             TypePointer Input 147(f64vec3)
194      417(if64v):    416(ptr) Variable Input
195             418:             TypePointer Input 24(float64_t)
196             461:    180(int) Constant 1
197             468:24(float64_t) Constant 0 1071644672
198             469: 25(f64vec2) ConstantComposite 468 468
199             471:     29(int) Constant 2
200             472:             TypeArray 24(float64_t) 471
201             473:             TypeArray 357 471
202          474(S):             TypeStruct 24(float64_t) 25(f64vec2) 147(f64vec3)
203             475:             TypeArray 474(S) 471
204         476(B1):             TypeStruct 24(float64_t) 25(f64vec2) 147(f64vec3) 472 357 473 474(S) 475
205             477:             TypePointer Uniform 476(B1)
206             478:    477(ptr) Variable Uniform
207       479(sf16):160(float16_t) SpecConstant 12288
208             480:             TypeFloat 32
209         481(sf):  480(float) SpecConstant 1048576000
210         482(sd):24(float64_t) SpecConstant 0 1071644672
211   483(f16_to_f):  480(float) SpecConstantOp 115 479(sf16)
212             484:  480(float) SpecConstantOp 115 479(sf16)
213   485(f16_to_d):24(float64_t) SpecConstantOp 115 484
214   486(f_to_f16):160(float16_t) SpecConstantOp 115 481(sf)
215   487(d_to_f16):160(float16_t) SpecConstantOp 115 482(sd)
216         4(main):           2 Function None 3
217               5:             Label
218                              Return
219                              FunctionEnd
220     6(literal():           2 Function None 3
221               7:             Label
222        27(f64v):     26(ptr) Variable Function
223              32:     31(ptr) AccessChain 27(f64v) 30
224                              Store 32 28
225              36: 25(f64vec2) Load 27(f64v)
226              37: 25(f64vec2) FAdd 36 35
227                              Store 27(f64v) 37
228                              Return
229                              FunctionEnd
230   8(operators():           2 Function None 3
231               9:             Label
232        38(f64v):     26(ptr) Variable Function
233        60(f64m):     59(ptr) Variable Function
234         83(f64):     31(ptr) Variable Function
235          107(b):    106(ptr) Variable Function
236              39: 25(f64vec2) Load 38(f64v)
237              40: 25(f64vec2) Load 38(f64v)
238              41: 25(f64vec2) FAdd 40 39
239                              Store 38(f64v) 41
240              42: 25(f64vec2) Load 38(f64v)
241              43: 25(f64vec2) Load 38(f64v)
242              44: 25(f64vec2) FSub 43 42
243                              Store 38(f64v) 44
244              45: 25(f64vec2) Load 38(f64v)
245              46: 25(f64vec2) Load 38(f64v)
246              47: 25(f64vec2) FMul 46 45
247                              Store 38(f64v) 47
248              48: 25(f64vec2) Load 38(f64v)
249              49: 25(f64vec2) Load 38(f64v)
250              50: 25(f64vec2) FDiv 49 48
251                              Store 38(f64v) 50
252              51: 25(f64vec2) Load 38(f64v)
253              53: 25(f64vec2) CompositeConstruct 52 52
254              54: 25(f64vec2) FAdd 51 53
255                              Store 38(f64v) 54
256              55: 25(f64vec2) Load 38(f64v)
257              56: 25(f64vec2) CompositeConstruct 52 52
258              57: 25(f64vec2) FSub 55 56
259                              Store 38(f64v) 57
260              61:          58 Load 60(f64m)
261              62: 25(f64vec2) CompositeConstruct 52 52
262              63: 25(f64vec2) CompositeExtract 61 0
263              64: 25(f64vec2) FAdd 63 62
264              65: 25(f64vec2) CompositeExtract 61 1
265              66: 25(f64vec2) FAdd 65 62
266              67:          58 CompositeConstruct 64 66
267                              Store 60(f64m) 67
268              68:          58 Load 60(f64m)
269              69: 25(f64vec2) CompositeConstruct 52 52
270              70: 25(f64vec2) CompositeExtract 68 0
271              71: 25(f64vec2) FSub 70 69
272              72: 25(f64vec2) CompositeExtract 68 1
273              73: 25(f64vec2) FSub 72 69
274              74:          58 CompositeConstruct 71 73
275                              Store 60(f64m) 74
276              75: 25(f64vec2) Load 38(f64v)
277              76: 25(f64vec2) FNegate 75
278                              Store 38(f64v) 76
279              77:          58 Load 60(f64m)
280              78: 25(f64vec2) CompositeExtract 77 0
281              79: 25(f64vec2) FNegate 78
282              80: 25(f64vec2) CompositeExtract 77 1
283              81: 25(f64vec2) FNegate 80
284              82:          58 CompositeConstruct 79 81
285                              Store 60(f64m) 82
286              84:     31(ptr) AccessChain 38(f64v) 30
287              85:24(float64_t) Load 84
288              87:     31(ptr) AccessChain 38(f64v) 86
289              88:24(float64_t) Load 87
290              89:24(float64_t) FAdd 85 88
291                              Store 83(f64) 89
292              90:     31(ptr) AccessChain 38(f64v) 30
293              91:24(float64_t) Load 90
294              92:     31(ptr) AccessChain 38(f64v) 86
295              93:24(float64_t) Load 92
296              94:24(float64_t) FSub 91 93
297                              Store 83(f64) 94
298              95:     31(ptr) AccessChain 38(f64v) 30
299              96:24(float64_t) Load 95
300              97:     31(ptr) AccessChain 38(f64v) 86
301              98:24(float64_t) Load 97
302              99:24(float64_t) FMul 96 98
303                              Store 83(f64) 99
304             100:     31(ptr) AccessChain 38(f64v) 30
305             101:24(float64_t) Load 100
306             102:     31(ptr) AccessChain 38(f64v) 86
307             103:24(float64_t) Load 102
308             104:24(float64_t) FDiv 101 103
309                              Store 83(f64) 104
310             108:     31(ptr) AccessChain 38(f64v) 30
311             109:24(float64_t) Load 108
312             110:24(float64_t) Load 83(f64)
313             111:   105(bool) FUnordNotEqual 109 110
314                              Store 107(b) 111
315             112:     31(ptr) AccessChain 38(f64v) 86
316             113:24(float64_t) Load 112
317             114:24(float64_t) Load 83(f64)
318             115:   105(bool) FOrdEqual 113 114
319                              Store 107(b) 115
320             116:     31(ptr) AccessChain 38(f64v) 30
321             117:24(float64_t) Load 116
322             118:24(float64_t) Load 83(f64)
323             119:   105(bool) FOrdGreaterThan 117 118
324                              Store 107(b) 119
325             120:     31(ptr) AccessChain 38(f64v) 86
326             121:24(float64_t) Load 120
327             122:24(float64_t) Load 83(f64)
328             123:   105(bool) FOrdLessThan 121 122
329                              Store 107(b) 123
330             124:     31(ptr) AccessChain 38(f64v) 30
331             125:24(float64_t) Load 124
332             126:24(float64_t) Load 83(f64)
333             127:   105(bool) FOrdGreaterThanEqual 125 126
334                              Store 107(b) 127
335             128:     31(ptr) AccessChain 38(f64v) 86
336             129:24(float64_t) Load 128
337             130:24(float64_t) Load 83(f64)
338             131:   105(bool) FOrdLessThanEqual 129 130
339                              Store 107(b) 131
340             132: 25(f64vec2) Load 38(f64v)
341             133:24(float64_t) Load 83(f64)
342             134: 25(f64vec2) VectorTimesScalar 132 133
343                              Store 38(f64v) 134
344             135:          58 Load 60(f64m)
345             136:24(float64_t) Load 83(f64)
346             137:          58 MatrixTimesScalar 135 136
347                              Store 60(f64m) 137
348             138:          58 Load 60(f64m)
349             139: 25(f64vec2) Load 38(f64v)
350             140: 25(f64vec2) MatrixTimesVector 138 139
351                              Store 38(f64v) 140
352             141: 25(f64vec2) Load 38(f64v)
353             142:          58 Load 60(f64m)
354             143: 25(f64vec2) VectorTimesMatrix 141 142
355                              Store 38(f64v) 143
356             144:          58 Load 60(f64m)
357             145:          58 Load 60(f64m)
358             146:          58 MatrixTimesMatrix 144 145
359                              Store 60(f64m) 146
360                              Return
361                              FunctionEnd
362   10(typeCast():           2 Function None 3
363              11:             Label
364       149(f64v):    148(ptr) Variable Function
365         152(bv):    151(ptr) Variable Function
366       163(f16v):    162(ptr) Variable Function
367        171(i8v):    170(ptr) Variable Function
368       177(i16v):    176(ptr) Variable Function
369       183(i32v):    182(ptr) Variable Function
370       189(i64v):    188(ptr) Variable Function
371        195(u8v):    194(ptr) Variable Function
372       201(u16v):    200(ptr) Variable Function
373       206(u32v):    205(ptr) Variable Function
374       212(u64v):    211(ptr) Variable Function
375             153:  150(bvec3) Load 152(bv)
376             157:147(f64vec3) Select 153 156 155
377                              Store 149(f64v) 157
378             158:147(f64vec3) Load 149(f64v)
379             159:  150(bvec3) FUnordNotEqual 158 155
380                              Store 152(bv) 159
381             164:161(f16vec3) Load 163(f16v)
382             165:147(f64vec3) FConvert 164
383                              Store 149(f64v) 165
384             166:147(f64vec3) Load 149(f64v)
385             167:161(f16vec3) FConvert 166
386                              Store 163(f16v) 167
387             172:147(f64vec3) Load 149(f64v)
388             173: 169(i8vec3) ConvertFToS 172
389                              Store 171(i8v) 173
390             178:147(f64vec3) Load 149(f64v)
391             179:175(i16vec3) ConvertFToS 178
392                              Store 177(i16v) 179
393             184:147(f64vec3) Load 149(f64v)
394             185:  181(ivec3) ConvertFToS 184
395                              Store 183(i32v) 185
396             190:147(f64vec3) Load 149(f64v)
397             191:187(i64vec3) ConvertFToS 190
398                              Store 189(i64v) 191
399             196:147(f64vec3) Load 149(f64v)
400             197: 193(i8vec3) ConvertFToU 196
401                              Store 195(u8v) 197
402             202:147(f64vec3) Load 149(f64v)
403             203:199(i16vec3) ConvertFToU 202
404                              Store 201(u16v) 203
405             207:147(f64vec3) Load 149(f64v)
406             208:  204(ivec3) ConvertFToU 207
407                              Store 206(u32v) 208
408             213:147(f64vec3) Load 149(f64v)
409             214:210(i64vec3) ConvertFToU 213
410                              Store 212(u64v) 214
411                              Return
412                              FunctionEnd
41312(builtinTranscendentalFuncs():           2 Function None 3
414              13:             Label
415      215(f64v2):     26(ptr) Variable Function
416      216(f64v1):     26(ptr) Variable Function
417             217: 25(f64vec2) Load 216(f64v1)
418             218: 25(f64vec2) ExtInst 1(GLSL.std.450) 31(Sqrt) 217
419                              Store 215(f64v2) 218
420             219: 25(f64vec2) Load 216(f64v1)
421             220: 25(f64vec2) ExtInst 1(GLSL.std.450) 32(InverseSqrt) 219
422                              Store 215(f64v2) 220
423                              Return
424                              FunctionEnd
42514(builtinCommonFuncs():           2 Function None 3
426              15:             Label
427      221(f64v2):    148(ptr) Variable Function
428      222(f64v1):    148(ptr) Variable Function
429        243(f64):     31(ptr) Variable Function
430      247(f64v3):    148(ptr) Variable Function
431         290(bv):    151(ptr) Variable Function
432          311(b):    106(ptr) Variable Function
433         321(iv):    182(ptr) Variable Function
434             223:147(f64vec3) Load 222(f64v1)
435             224:147(f64vec3) ExtInst 1(GLSL.std.450) 4(FAbs) 223
436                              Store 221(f64v2) 224
437             225:147(f64vec3) Load 222(f64v1)
438             226:147(f64vec3) ExtInst 1(GLSL.std.450) 6(FSign) 225
439                              Store 221(f64v2) 226
440             227:147(f64vec3) Load 222(f64v1)
441             228:147(f64vec3) ExtInst 1(GLSL.std.450) 8(Floor) 227
442                              Store 221(f64v2) 228
443             229:147(f64vec3) Load 222(f64v1)
444             230:147(f64vec3) ExtInst 1(GLSL.std.450) 3(Trunc) 229
445                              Store 221(f64v2) 230
446             231:147(f64vec3) Load 222(f64v1)
447             232:147(f64vec3) ExtInst 1(GLSL.std.450) 1(Round) 231
448                              Store 221(f64v2) 232
449             233:147(f64vec3) Load 222(f64v1)
450             234:147(f64vec3) ExtInst 1(GLSL.std.450) 2(RoundEven) 233
451                              Store 221(f64v2) 234
452             235:147(f64vec3) Load 222(f64v1)
453             236:147(f64vec3) ExtInst 1(GLSL.std.450) 9(Ceil) 235
454                              Store 221(f64v2) 236
455             237:147(f64vec3) Load 222(f64v1)
456             238:147(f64vec3) ExtInst 1(GLSL.std.450) 10(Fract) 237
457                              Store 221(f64v2) 238
458             239:147(f64vec3) Load 222(f64v1)
459             240:147(f64vec3) Load 221(f64v2)
460             241:147(f64vec3) FMod 239 240
461                              Store 221(f64v2) 241
462             242:147(f64vec3) Load 222(f64v1)
463             244:24(float64_t) Load 243(f64)
464             245:147(f64vec3) CompositeConstruct 244 244 244
465             246:147(f64vec3) FMod 242 245
466                              Store 221(f64v2) 246
467             248:147(f64vec3) Load 222(f64v1)
468             250:249(ResType) ExtInst 1(GLSL.std.450) 36(ModfStruct) 248
469             251:147(f64vec3) CompositeExtract 250 1
470                              Store 221(f64v2) 251
471             252:147(f64vec3) CompositeExtract 250 0
472                              Store 247(f64v3) 252
473             253:147(f64vec3) Load 222(f64v1)
474             254:147(f64vec3) Load 221(f64v2)
475             255:147(f64vec3) ExtInst 1(GLSL.std.450) 37(FMin) 253 254
476                              Store 247(f64v3) 255
477             256:147(f64vec3) Load 222(f64v1)
478             257:24(float64_t) Load 243(f64)
479             258:147(f64vec3) CompositeConstruct 257 257 257
480             259:147(f64vec3) ExtInst 1(GLSL.std.450) 37(FMin) 256 258
481                              Store 247(f64v3) 259
482             260:147(f64vec3) Load 222(f64v1)
483             261:147(f64vec3) Load 221(f64v2)
484             262:147(f64vec3) ExtInst 1(GLSL.std.450) 40(FMax) 260 261
485                              Store 247(f64v3) 262
486             263:147(f64vec3) Load 222(f64v1)
487             264:24(float64_t) Load 243(f64)
488             265:147(f64vec3) CompositeConstruct 264 264 264
489             266:147(f64vec3) ExtInst 1(GLSL.std.450) 40(FMax) 263 265
490                              Store 247(f64v3) 266
491             267:147(f64vec3) Load 222(f64v1)
492             268:24(float64_t) Load 243(f64)
493             269:     31(ptr) AccessChain 221(f64v2) 30
494             270:24(float64_t) Load 269
495             271:147(f64vec3) CompositeConstruct 268 268 268
496             272:147(f64vec3) CompositeConstruct 270 270 270
497             273:147(f64vec3) ExtInst 1(GLSL.std.450) 43(FClamp) 267 271 272
498                              Store 247(f64v3) 273
499             274:147(f64vec3) Load 222(f64v1)
500             275:147(f64vec3) Load 221(f64v2)
501             276:24(float64_t) Load 243(f64)
502             277:147(f64vec3) CompositeConstruct 276 276 276
503             278:147(f64vec3) ExtInst 1(GLSL.std.450) 43(FClamp) 274 275 277
504                              Store 247(f64v3) 278
505             279:147(f64vec3) Load 222(f64v1)
506             280:147(f64vec3) Load 221(f64v2)
507             281:24(float64_t) Load 243(f64)
508             282:147(f64vec3) CompositeConstruct 281 281 281
509             283:147(f64vec3) ExtInst 1(GLSL.std.450) 46(FMix) 279 280 282
510                              Store 247(f64v3) 283
511             284:147(f64vec3) Load 222(f64v1)
512             285:147(f64vec3) Load 221(f64v2)
513             286:147(f64vec3) Load 247(f64v3)
514             287:147(f64vec3) ExtInst 1(GLSL.std.450) 46(FMix) 284 285 286
515                              Store 247(f64v3) 287
516             288:147(f64vec3) Load 222(f64v1)
517             289:147(f64vec3) Load 221(f64v2)
518             291:  150(bvec3) Load 290(bv)
519             292:147(f64vec3) Select 291 289 288
520                              Store 247(f64v3) 292
521             293:147(f64vec3) Load 222(f64v1)
522             294:147(f64vec3) Load 221(f64v2)
523             295:147(f64vec3) ExtInst 1(GLSL.std.450) 48(Step) 293 294
524                              Store 247(f64v3) 295
525             296:24(float64_t) Load 243(f64)
526             297:147(f64vec3) Load 247(f64v3)
527             298:147(f64vec3) CompositeConstruct 296 296 296
528             299:147(f64vec3) ExtInst 1(GLSL.std.450) 48(Step) 298 297
529                              Store 247(f64v3) 299
530             300:147(f64vec3) Load 222(f64v1)
531             301:147(f64vec3) Load 221(f64v2)
532             302:147(f64vec3) Load 247(f64v3)
533             303:147(f64vec3) ExtInst 1(GLSL.std.450) 49(SmoothStep) 300 301 302
534                              Store 247(f64v3) 303
535             304:24(float64_t) Load 243(f64)
536             305:     31(ptr) AccessChain 222(f64v1) 30
537             306:24(float64_t) Load 305
538             307:147(f64vec3) Load 221(f64v2)
539             308:147(f64vec3) CompositeConstruct 304 304 304
540             309:147(f64vec3) CompositeConstruct 306 306 306
541             310:147(f64vec3) ExtInst 1(GLSL.std.450) 49(SmoothStep) 308 309 307
542                              Store 247(f64v3) 310
543             312:24(float64_t) Load 243(f64)
544             313:   105(bool) IsNan 312
545                              Store 311(b) 313
546             314:147(f64vec3) Load 222(f64v1)
547             315:  150(bvec3) IsInf 314
548                              Store 290(bv) 315
549             316:147(f64vec3) Load 222(f64v1)
550             317:147(f64vec3) Load 221(f64v2)
551             318:147(f64vec3) Load 247(f64v3)
552             319:147(f64vec3) ExtInst 1(GLSL.std.450) 50(Fma) 316 317 318
553                              Store 247(f64v3) 319
554             320:147(f64vec3) Load 222(f64v1)
555             323:322(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 320
556             324:  181(ivec3) CompositeExtract 323 1
557                              Store 321(iv) 324
558             325:147(f64vec3) CompositeExtract 323 0
559                              Store 221(f64v2) 325
560             326:147(f64vec3) Load 222(f64v1)
561             327:  181(ivec3) Load 321(iv)
562             328:147(f64vec3) ExtInst 1(GLSL.std.450) 53(Ldexp) 326 327
563                              Store 221(f64v2) 328
564                              Return
565                              FunctionEnd
56616(builtinGeometryFuncs():           2 Function None 3
567              17:             Label
568        329(f64):     31(ptr) Variable Function
569      330(f64v1):    148(ptr) Variable Function
570      334(f64v2):    148(ptr) Variable Function
571      340(f64v3):    148(ptr) Variable Function
572             331:147(f64vec3) Load 330(f64v1)
573             332:24(float64_t) ExtInst 1(GLSL.std.450) 66(Length) 331
574                              Store 329(f64) 332
575             333:147(f64vec3) Load 330(f64v1)
576             335:147(f64vec3) Load 334(f64v2)
577             336:24(float64_t) ExtInst 1(GLSL.std.450) 67(Distance) 333 335
578                              Store 329(f64) 336
579             337:147(f64vec3) Load 330(f64v1)
580             338:147(f64vec3) Load 334(f64v2)
581             339:24(float64_t) Dot 337 338
582                              Store 329(f64) 339
583             341:147(f64vec3) Load 330(f64v1)
584             342:147(f64vec3) Load 334(f64v2)
585             343:147(f64vec3) ExtInst 1(GLSL.std.450) 68(Cross) 341 342
586                              Store 340(f64v3) 343
587             344:147(f64vec3) Load 330(f64v1)
588             345:147(f64vec3) ExtInst 1(GLSL.std.450) 69(Normalize) 344
589                              Store 334(f64v2) 345
590             346:147(f64vec3) Load 330(f64v1)
591             347:147(f64vec3) Load 334(f64v2)
592             348:147(f64vec3) Load 340(f64v3)
593             349:147(f64vec3) ExtInst 1(GLSL.std.450) 70(FaceForward) 346 347 348
594                              Store 340(f64v3) 349
595             350:147(f64vec3) Load 330(f64v1)
596             351:147(f64vec3) Load 334(f64v2)
597             352:147(f64vec3) ExtInst 1(GLSL.std.450) 71(Reflect) 350 351
598                              Store 340(f64v3) 352
599             353:147(f64vec3) Load 330(f64v1)
600             354:147(f64vec3) Load 334(f64v2)
601             355:24(float64_t) Load 329(f64)
602             356:147(f64vec3) ExtInst 1(GLSL.std.450) 72(Refract) 353 354 355
603                              Store 340(f64v3) 356
604                              Return
605                              FunctionEnd
60618(builtinMatrixFuncs():           2 Function None 3
607              19:             Label
608      359(f64m3):    358(ptr) Variable Function
609      360(f64m1):    358(ptr) Variable Function
610      362(f64m2):    358(ptr) Variable Function
611      371(f64v1):    148(ptr) Variable Function
612      373(f64v2):     26(ptr) Variable Function
613      378(f64m4):    377(ptr) Variable Function
614        381(f64):     31(ptr) Variable Function
615      384(f64m5):    383(ptr) Variable Function
616      390(f64m6):    389(ptr) Variable Function
617      391(f64m7):    389(ptr) Variable Function
618             361:         357 Load 360(f64m1)
619             363:         357 Load 362(f64m2)
620             364:147(f64vec3) CompositeExtract 361 0
621             365:147(f64vec3) CompositeExtract 363 0
622             366:147(f64vec3) FMul 364 365
623             367:147(f64vec3) CompositeExtract 361 1
624             368:147(f64vec3) CompositeExtract 363 1
625             369:147(f64vec3) FMul 367 368
626             370:         357 CompositeConstruct 366 369
627                              Store 359(f64m3) 370
628             372:147(f64vec3) Load 371(f64v1)
629             374: 25(f64vec2) Load 373(f64v2)
630             375:         357 OuterProduct 372 374
631                              Store 360(f64m1) 375
632             379:         357 Load 360(f64m1)
633             380:         376 Transpose 379
634                              Store 378(f64m4) 380
635             385:         382 Load 384(f64m5)
636             386:24(float64_t) ExtInst 1(GLSL.std.450) 33(Determinant) 385
637                              Store 381(f64) 386
638             392:         388 Load 391(f64m7)
639             393:         388 ExtInst 1(GLSL.std.450) 34(MatrixInverse) 392
640                              Store 390(f64m6) 393
641                              Return
642                              FunctionEnd
64320(builtinVecRelFuncs():           2 Function None 3
644              21:             Label
645         394(bv):    151(ptr) Variable Function
646      395(f64v1):    148(ptr) Variable Function
647      397(f64v2):    148(ptr) Variable Function
648             396:147(f64vec3) Load 395(f64v1)
649             398:147(f64vec3) Load 397(f64v2)
650             399:  150(bvec3) FOrdLessThan 396 398
651                              Store 394(bv) 399
652             400:147(f64vec3) Load 395(f64v1)
653             401:147(f64vec3) Load 397(f64v2)
654             402:  150(bvec3) FOrdLessThanEqual 400 401
655                              Store 394(bv) 402
656             403:147(f64vec3) Load 395(f64v1)
657             404:147(f64vec3) Load 397(f64v2)
658             405:  150(bvec3) FOrdGreaterThan 403 404
659                              Store 394(bv) 405
660             406:147(f64vec3) Load 395(f64v1)
661             407:147(f64vec3) Load 397(f64v2)
662             408:  150(bvec3) FOrdGreaterThanEqual 406 407
663                              Store 394(bv) 408
664             409:147(f64vec3) Load 395(f64v1)
665             410:147(f64vec3) Load 397(f64v2)
666             411:  150(bvec3) FOrdEqual 409 410
667                              Store 394(bv) 411
668             412:147(f64vec3) Load 395(f64v1)
669             413:147(f64vec3) Load 397(f64v2)
670             414:  150(bvec3) FUnordNotEqual 412 413
671                              Store 394(bv) 414
672                              Return
673                              FunctionEnd
67422(builtinFragProcFuncs():           2 Function None 3
675              23:             Label
676       415(f64v):    148(ptr) Variable Function
677             419:    418(ptr) AccessChain 417(if64v) 30
678             420:24(float64_t) Load 419
679             421:24(float64_t) DPdx 420
680             422:     31(ptr) AccessChain 415(f64v) 30
681                              Store 422 421
682             423:    418(ptr) AccessChain 417(if64v) 86
683             424:24(float64_t) Load 423
684             425:24(float64_t) DPdy 424
685             426:     31(ptr) AccessChain 415(f64v) 86
686                              Store 426 425
687             427:147(f64vec3) Load 417(if64v)
688             428: 25(f64vec2) VectorShuffle 427 427 0 1
689             429: 25(f64vec2) DPdxFine 428
690             430:     31(ptr) AccessChain 415(f64v) 30
691             431:24(float64_t) CompositeExtract 429 0
692                              Store 430 431
693             432:     31(ptr) AccessChain 415(f64v) 86
694             433:24(float64_t) CompositeExtract 429 1
695                              Store 432 433
696             434:147(f64vec3) Load 417(if64v)
697             435: 25(f64vec2) VectorShuffle 434 434 0 1
698             436: 25(f64vec2) DPdyFine 435
699             437:     31(ptr) AccessChain 415(f64v) 30
700             438:24(float64_t) CompositeExtract 436 0
701                              Store 437 438
702             439:     31(ptr) AccessChain 415(f64v) 86
703             440:24(float64_t) CompositeExtract 436 1
704                              Store 439 440
705             441:147(f64vec3) Load 417(if64v)
706             442:147(f64vec3) DPdxCoarse 441
707                              Store 415(f64v) 442
708             443:147(f64vec3) Load 417(if64v)
709             444:147(f64vec3) DPdxCoarse 443
710                              Store 415(f64v) 444
711             445:    418(ptr) AccessChain 417(if64v) 30
712             446:24(float64_t) Load 445
713             447:24(float64_t) Fwidth 446
714             448:     31(ptr) AccessChain 415(f64v) 30
715                              Store 448 447
716             449:147(f64vec3) Load 417(if64v)
717             450: 25(f64vec2) VectorShuffle 449 449 0 1
718             451: 25(f64vec2) FwidthFine 450
719             452:     31(ptr) AccessChain 415(f64v) 30
720             453:24(float64_t) CompositeExtract 451 0
721                              Store 452 453
722             454:     31(ptr) AccessChain 415(f64v) 86
723             455:24(float64_t) CompositeExtract 451 1
724                              Store 454 455
725             456:147(f64vec3) Load 417(if64v)
726             457:147(f64vec3) FwidthCoarse 456
727                              Store 415(f64v) 457
728             458:    418(ptr) AccessChain 417(if64v) 30
729             459:24(float64_t) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 458
730             460:     31(ptr) AccessChain 415(f64v) 30
731                              Store 460 459
732             462:147(f64vec3) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 417(if64v) 461
733             463: 25(f64vec2) VectorShuffle 462 462 0 1
734             464:     31(ptr) AccessChain 415(f64v) 30
735             465:24(float64_t) CompositeExtract 463 0
736                              Store 464 465
737             466:     31(ptr) AccessChain 415(f64v) 86
738             467:24(float64_t) CompositeExtract 463 1
739                              Store 466 467
740             470:147(f64vec3) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 417(if64v) 469
741                              Store 415(f64v) 470
742                              Return
743                              FunctionEnd
744