xemu/subprojects/glslang/Test/baseResults/spv.float64.frag.out

744 lines
37 KiB
Plaintext

spv.float64.frag
Validation failed
// Module Version 10300
// Generated by (magic number): 8000b
// Id's are bound by 488
Capability Shader
Capability Float16
Capability Float64
Capability Int64
Capability Int16
Capability Int8
Capability DerivativeControl
Capability InterpolationFunction
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 417
ExecutionMode 4 OriginUpperLeft
Source GLSL 450
SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float16"
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float32"
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_float64"
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int16"
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int32"
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64"
SourceExtension "GL_EXT_shader_explicit_arithmetic_types_int8"
Name 4 "main"
Name 6 "literal("
Name 8 "operators("
Name 10 "typeCast("
Name 12 "builtinTranscendentalFuncs("
Name 14 "builtinCommonFuncs("
Name 16 "builtinGeometryFuncs("
Name 18 "builtinMatrixFuncs("
Name 20 "builtinVecRelFuncs("
Name 22 "builtinFragProcFuncs("
Name 27 "f64v"
Name 38 "f64v"
Name 60 "f64m"
Name 83 "f64"
Name 107 "b"
Name 149 "f64v"
Name 152 "bv"
Name 163 "f16v"
Name 171 "i8v"
Name 177 "i16v"
Name 183 "i32v"
Name 189 "i64v"
Name 195 "u8v"
Name 201 "u16v"
Name 206 "u32v"
Name 212 "u64v"
Name 215 "f64v2"
Name 216 "f64v1"
Name 221 "f64v2"
Name 222 "f64v1"
Name 243 "f64"
Name 247 "f64v3"
Name 249 "ResType"
Name 290 "bv"
Name 311 "b"
Name 321 "iv"
Name 322 "ResType"
Name 329 "f64"
Name 330 "f64v1"
Name 334 "f64v2"
Name 340 "f64v3"
Name 359 "f64m3"
Name 360 "f64m1"
Name 362 "f64m2"
Name 371 "f64v1"
Name 373 "f64v2"
Name 378 "f64m4"
Name 381 "f64"
Name 384 "f64m5"
Name 390 "f64m6"
Name 391 "f64m7"
Name 394 "bv"
Name 395 "f64v1"
Name 397 "f64v2"
Name 415 "f64v"
Name 417 "if64v"
Name 474 "S"
MemberName 474(S) 0 "x"
MemberName 474(S) 1 "y"
MemberName 474(S) 2 "z"
Name 476 "B1"
MemberName 476(B1) 0 "a"
MemberName 476(B1) 1 "b"
MemberName 476(B1) 2 "c"
MemberName 476(B1) 3 "d"
MemberName 476(B1) 4 "e"
MemberName 476(B1) 5 "f"
MemberName 476(B1) 6 "g"
MemberName 476(B1) 7 "h"
Name 478 ""
Name 479 "sf16"
Name 481 "sf"
Name 482 "sd"
Name 483 "f16_to_f"
Name 485 "f16_to_d"
Name 486 "f_to_f16"
Name 487 "d_to_f16"
Decorate 417(if64v) Flat
Decorate 417(if64v) Location 0
Decorate 472 ArrayStride 16
Decorate 473 ArrayStride 64
MemberDecorate 474(S) 0 Offset 0
MemberDecorate 474(S) 1 Offset 16
MemberDecorate 474(S) 2 Offset 32
Decorate 475 ArrayStride 64
Decorate 476(B1) Block
MemberDecorate 476(B1) 0 Offset 0
MemberDecorate 476(B1) 1 Offset 16
MemberDecorate 476(B1) 2 Offset 32
MemberDecorate 476(B1) 3 Offset 64
MemberDecorate 476(B1) 4 ColMajor
MemberDecorate 476(B1) 4 MatrixStride 32
MemberDecorate 476(B1) 4 Offset 96
MemberDecorate 476(B1) 5 ColMajor
MemberDecorate 476(B1) 5 MatrixStride 32
MemberDecorate 476(B1) 5 Offset 160
MemberDecorate 476(B1) 6 Offset 288
MemberDecorate 476(B1) 7 Offset 352
Decorate 478 Binding 0
Decorate 478 DescriptorSet 0
Decorate 479(sf16) SpecId 100
Decorate 481(sf) SpecId 101
Decorate 482(sd) SpecId 102
2: TypeVoid
3: TypeFunction 2
24: TypeFloat 64
25: TypeVector 24(float64_t) 2
26: TypePointer Function 25(f64vec2)
28:24(float64_t) Constant 2696277389 1051772663
29: TypeInt 32 0
30: 29(int) Constant 0
31: TypePointer Function 24(float64_t)
33:24(float64_t) Constant 0 3218079744
34:24(float64_t) Constant 3951369912 1067366481
35: 25(f64vec2) ConstantComposite 33 34
52:24(float64_t) Constant 0 1072693248
58: TypeMatrix 25(f64vec2) 2
59: TypePointer Function 58
86: 29(int) Constant 1
105: TypeBool
106: TypePointer Function 105(bool)
147: TypeVector 24(float64_t) 3
148: TypePointer Function 147(f64vec3)
150: TypeVector 105(bool) 3
151: TypePointer Function 150(bvec3)
154:24(float64_t) Constant 0 0
155:147(f64vec3) ConstantComposite 154 154 154
156:147(f64vec3) ConstantComposite 52 52 52
160: TypeFloat 16
161: TypeVector 160(float16_t) 3
162: TypePointer Function 161(f16vec3)
168: TypeInt 8 1
169: TypeVector 168(int8_t) 3
170: TypePointer Function 169(i8vec3)
174: TypeInt 16 1
175: TypeVector 174(int16_t) 3
176: TypePointer Function 175(i16vec3)
180: TypeInt 32 1
181: TypeVector 180(int) 3
182: TypePointer Function 181(ivec3)
186: TypeInt 64 1
187: TypeVector 186(int64_t) 3
188: TypePointer Function 187(i64vec3)
192: TypeInt 8 0
193: TypeVector 192(int8_t) 3
194: TypePointer Function 193(i8vec3)
198: TypeInt 16 0
199: TypeVector 198(int16_t) 3
200: TypePointer Function 199(i16vec3)
204: TypeVector 29(int) 3
205: TypePointer Function 204(ivec3)
209: TypeInt 64 0
210: TypeVector 209(int64_t) 3
211: TypePointer Function 210(i64vec3)
249(ResType): TypeStruct 147(f64vec3) 147(f64vec3)
322(ResType): TypeStruct 147(f64vec3) 181(ivec3)
357: TypeMatrix 147(f64vec3) 2
358: TypePointer Function 357
376: TypeMatrix 25(f64vec2) 3
377: TypePointer Function 376
382: TypeMatrix 147(f64vec3) 3
383: TypePointer Function 382
387: TypeVector 24(float64_t) 4
388: TypeMatrix 387(f64vec4) 4
389: TypePointer Function 388
416: TypePointer Input 147(f64vec3)
417(if64v): 416(ptr) Variable Input
418: TypePointer Input 24(float64_t)
461: 180(int) Constant 1
468:24(float64_t) Constant 0 1071644672
469: 25(f64vec2) ConstantComposite 468 468
471: 29(int) Constant 2
472: TypeArray 24(float64_t) 471
473: TypeArray 357 471
474(S): TypeStruct 24(float64_t) 25(f64vec2) 147(f64vec3)
475: TypeArray 474(S) 471
476(B1): TypeStruct 24(float64_t) 25(f64vec2) 147(f64vec3) 472 357 473 474(S) 475
477: TypePointer Uniform 476(B1)
478: 477(ptr) Variable Uniform
479(sf16):160(float16_t) SpecConstant 12288
480: TypeFloat 32
481(sf): 480(float) SpecConstant 1048576000
482(sd):24(float64_t) SpecConstant 0 1071644672
483(f16_to_f): 480(float) SpecConstantOp 115 479(sf16)
484: 480(float) SpecConstantOp 115 479(sf16)
485(f16_to_d):24(float64_t) SpecConstantOp 115 484
486(f_to_f16):160(float16_t) SpecConstantOp 115 481(sf)
487(d_to_f16):160(float16_t) SpecConstantOp 115 482(sd)
4(main): 2 Function None 3
5: Label
Return
FunctionEnd
6(literal(): 2 Function None 3
7: Label
27(f64v): 26(ptr) Variable Function
32: 31(ptr) AccessChain 27(f64v) 30
Store 32 28
36: 25(f64vec2) Load 27(f64v)
37: 25(f64vec2) FAdd 36 35
Store 27(f64v) 37
Return
FunctionEnd
8(operators(): 2 Function None 3
9: Label
38(f64v): 26(ptr) Variable Function
60(f64m): 59(ptr) Variable Function
83(f64): 31(ptr) Variable Function
107(b): 106(ptr) Variable Function
39: 25(f64vec2) Load 38(f64v)
40: 25(f64vec2) Load 38(f64v)
41: 25(f64vec2) FAdd 40 39
Store 38(f64v) 41
42: 25(f64vec2) Load 38(f64v)
43: 25(f64vec2) Load 38(f64v)
44: 25(f64vec2) FSub 43 42
Store 38(f64v) 44
45: 25(f64vec2) Load 38(f64v)
46: 25(f64vec2) Load 38(f64v)
47: 25(f64vec2) FMul 46 45
Store 38(f64v) 47
48: 25(f64vec2) Load 38(f64v)
49: 25(f64vec2) Load 38(f64v)
50: 25(f64vec2) FDiv 49 48
Store 38(f64v) 50
51: 25(f64vec2) Load 38(f64v)
53: 25(f64vec2) CompositeConstruct 52 52
54: 25(f64vec2) FAdd 51 53
Store 38(f64v) 54
55: 25(f64vec2) Load 38(f64v)
56: 25(f64vec2) CompositeConstruct 52 52
57: 25(f64vec2) FSub 55 56
Store 38(f64v) 57
61: 58 Load 60(f64m)
62: 25(f64vec2) CompositeConstruct 52 52
63: 25(f64vec2) CompositeExtract 61 0
64: 25(f64vec2) FAdd 63 62
65: 25(f64vec2) CompositeExtract 61 1
66: 25(f64vec2) FAdd 65 62
67: 58 CompositeConstruct 64 66
Store 60(f64m) 67
68: 58 Load 60(f64m)
69: 25(f64vec2) CompositeConstruct 52 52
70: 25(f64vec2) CompositeExtract 68 0
71: 25(f64vec2) FSub 70 69
72: 25(f64vec2) CompositeExtract 68 1
73: 25(f64vec2) FSub 72 69
74: 58 CompositeConstruct 71 73
Store 60(f64m) 74
75: 25(f64vec2) Load 38(f64v)
76: 25(f64vec2) FNegate 75
Store 38(f64v) 76
77: 58 Load 60(f64m)
78: 25(f64vec2) CompositeExtract 77 0
79: 25(f64vec2) FNegate 78
80: 25(f64vec2) CompositeExtract 77 1
81: 25(f64vec2) FNegate 80
82: 58 CompositeConstruct 79 81
Store 60(f64m) 82
84: 31(ptr) AccessChain 38(f64v) 30
85:24(float64_t) Load 84
87: 31(ptr) AccessChain 38(f64v) 86
88:24(float64_t) Load 87
89:24(float64_t) FAdd 85 88
Store 83(f64) 89
90: 31(ptr) AccessChain 38(f64v) 30
91:24(float64_t) Load 90
92: 31(ptr) AccessChain 38(f64v) 86
93:24(float64_t) Load 92
94:24(float64_t) FSub 91 93
Store 83(f64) 94
95: 31(ptr) AccessChain 38(f64v) 30
96:24(float64_t) Load 95
97: 31(ptr) AccessChain 38(f64v) 86
98:24(float64_t) Load 97
99:24(float64_t) FMul 96 98
Store 83(f64) 99
100: 31(ptr) AccessChain 38(f64v) 30
101:24(float64_t) Load 100
102: 31(ptr) AccessChain 38(f64v) 86
103:24(float64_t) Load 102
104:24(float64_t) FDiv 101 103
Store 83(f64) 104
108: 31(ptr) AccessChain 38(f64v) 30
109:24(float64_t) Load 108
110:24(float64_t) Load 83(f64)
111: 105(bool) FUnordNotEqual 109 110
Store 107(b) 111
112: 31(ptr) AccessChain 38(f64v) 86
113:24(float64_t) Load 112
114:24(float64_t) Load 83(f64)
115: 105(bool) FOrdEqual 113 114
Store 107(b) 115
116: 31(ptr) AccessChain 38(f64v) 30
117:24(float64_t) Load 116
118:24(float64_t) Load 83(f64)
119: 105(bool) FOrdGreaterThan 117 118
Store 107(b) 119
120: 31(ptr) AccessChain 38(f64v) 86
121:24(float64_t) Load 120
122:24(float64_t) Load 83(f64)
123: 105(bool) FOrdLessThan 121 122
Store 107(b) 123
124: 31(ptr) AccessChain 38(f64v) 30
125:24(float64_t) Load 124
126:24(float64_t) Load 83(f64)
127: 105(bool) FOrdGreaterThanEqual 125 126
Store 107(b) 127
128: 31(ptr) AccessChain 38(f64v) 86
129:24(float64_t) Load 128
130:24(float64_t) Load 83(f64)
131: 105(bool) FOrdLessThanEqual 129 130
Store 107(b) 131
132: 25(f64vec2) Load 38(f64v)
133:24(float64_t) Load 83(f64)
134: 25(f64vec2) VectorTimesScalar 132 133
Store 38(f64v) 134
135: 58 Load 60(f64m)
136:24(float64_t) Load 83(f64)
137: 58 MatrixTimesScalar 135 136
Store 60(f64m) 137
138: 58 Load 60(f64m)
139: 25(f64vec2) Load 38(f64v)
140: 25(f64vec2) MatrixTimesVector 138 139
Store 38(f64v) 140
141: 25(f64vec2) Load 38(f64v)
142: 58 Load 60(f64m)
143: 25(f64vec2) VectorTimesMatrix 141 142
Store 38(f64v) 143
144: 58 Load 60(f64m)
145: 58 Load 60(f64m)
146: 58 MatrixTimesMatrix 144 145
Store 60(f64m) 146
Return
FunctionEnd
10(typeCast(): 2 Function None 3
11: Label
149(f64v): 148(ptr) Variable Function
152(bv): 151(ptr) Variable Function
163(f16v): 162(ptr) Variable Function
171(i8v): 170(ptr) Variable Function
177(i16v): 176(ptr) Variable Function
183(i32v): 182(ptr) Variable Function
189(i64v): 188(ptr) Variable Function
195(u8v): 194(ptr) Variable Function
201(u16v): 200(ptr) Variable Function
206(u32v): 205(ptr) Variable Function
212(u64v): 211(ptr) Variable Function
153: 150(bvec3) Load 152(bv)
157:147(f64vec3) Select 153 156 155
Store 149(f64v) 157
158:147(f64vec3) Load 149(f64v)
159: 150(bvec3) FUnordNotEqual 158 155
Store 152(bv) 159
164:161(f16vec3) Load 163(f16v)
165:147(f64vec3) FConvert 164
Store 149(f64v) 165
166:147(f64vec3) Load 149(f64v)
167:161(f16vec3) FConvert 166
Store 163(f16v) 167
172:147(f64vec3) Load 149(f64v)
173: 169(i8vec3) ConvertFToS 172
Store 171(i8v) 173
178:147(f64vec3) Load 149(f64v)
179:175(i16vec3) ConvertFToS 178
Store 177(i16v) 179
184:147(f64vec3) Load 149(f64v)
185: 181(ivec3) ConvertFToS 184
Store 183(i32v) 185
190:147(f64vec3) Load 149(f64v)
191:187(i64vec3) ConvertFToS 190
Store 189(i64v) 191
196:147(f64vec3) Load 149(f64v)
197: 193(i8vec3) ConvertFToU 196
Store 195(u8v) 197
202:147(f64vec3) Load 149(f64v)
203:199(i16vec3) ConvertFToU 202
Store 201(u16v) 203
207:147(f64vec3) Load 149(f64v)
208: 204(ivec3) ConvertFToU 207
Store 206(u32v) 208
213:147(f64vec3) Load 149(f64v)
214:210(i64vec3) ConvertFToU 213
Store 212(u64v) 214
Return
FunctionEnd
12(builtinTranscendentalFuncs(): 2 Function None 3
13: Label
215(f64v2): 26(ptr) Variable Function
216(f64v1): 26(ptr) Variable Function
217: 25(f64vec2) Load 216(f64v1)
218: 25(f64vec2) ExtInst 1(GLSL.std.450) 31(Sqrt) 217
Store 215(f64v2) 218
219: 25(f64vec2) Load 216(f64v1)
220: 25(f64vec2) ExtInst 1(GLSL.std.450) 32(InverseSqrt) 219
Store 215(f64v2) 220
Return
FunctionEnd
14(builtinCommonFuncs(): 2 Function None 3
15: Label
221(f64v2): 148(ptr) Variable Function
222(f64v1): 148(ptr) Variable Function
243(f64): 31(ptr) Variable Function
247(f64v3): 148(ptr) Variable Function
290(bv): 151(ptr) Variable Function
311(b): 106(ptr) Variable Function
321(iv): 182(ptr) Variable Function
223:147(f64vec3) Load 222(f64v1)
224:147(f64vec3) ExtInst 1(GLSL.std.450) 4(FAbs) 223
Store 221(f64v2) 224
225:147(f64vec3) Load 222(f64v1)
226:147(f64vec3) ExtInst 1(GLSL.std.450) 6(FSign) 225
Store 221(f64v2) 226
227:147(f64vec3) Load 222(f64v1)
228:147(f64vec3) ExtInst 1(GLSL.std.450) 8(Floor) 227
Store 221(f64v2) 228
229:147(f64vec3) Load 222(f64v1)
230:147(f64vec3) ExtInst 1(GLSL.std.450) 3(Trunc) 229
Store 221(f64v2) 230
231:147(f64vec3) Load 222(f64v1)
232:147(f64vec3) ExtInst 1(GLSL.std.450) 1(Round) 231
Store 221(f64v2) 232
233:147(f64vec3) Load 222(f64v1)
234:147(f64vec3) ExtInst 1(GLSL.std.450) 2(RoundEven) 233
Store 221(f64v2) 234
235:147(f64vec3) Load 222(f64v1)
236:147(f64vec3) ExtInst 1(GLSL.std.450) 9(Ceil) 235
Store 221(f64v2) 236
237:147(f64vec3) Load 222(f64v1)
238:147(f64vec3) ExtInst 1(GLSL.std.450) 10(Fract) 237
Store 221(f64v2) 238
239:147(f64vec3) Load 222(f64v1)
240:147(f64vec3) Load 221(f64v2)
241:147(f64vec3) FMod 239 240
Store 221(f64v2) 241
242:147(f64vec3) Load 222(f64v1)
244:24(float64_t) Load 243(f64)
245:147(f64vec3) CompositeConstruct 244 244 244
246:147(f64vec3) FMod 242 245
Store 221(f64v2) 246
248:147(f64vec3) Load 222(f64v1)
250:249(ResType) ExtInst 1(GLSL.std.450) 36(ModfStruct) 248
251:147(f64vec3) CompositeExtract 250 1
Store 221(f64v2) 251
252:147(f64vec3) CompositeExtract 250 0
Store 247(f64v3) 252
253:147(f64vec3) Load 222(f64v1)
254:147(f64vec3) Load 221(f64v2)
255:147(f64vec3) ExtInst 1(GLSL.std.450) 37(FMin) 253 254
Store 247(f64v3) 255
256:147(f64vec3) Load 222(f64v1)
257:24(float64_t) Load 243(f64)
258:147(f64vec3) CompositeConstruct 257 257 257
259:147(f64vec3) ExtInst 1(GLSL.std.450) 37(FMin) 256 258
Store 247(f64v3) 259
260:147(f64vec3) Load 222(f64v1)
261:147(f64vec3) Load 221(f64v2)
262:147(f64vec3) ExtInst 1(GLSL.std.450) 40(FMax) 260 261
Store 247(f64v3) 262
263:147(f64vec3) Load 222(f64v1)
264:24(float64_t) Load 243(f64)
265:147(f64vec3) CompositeConstruct 264 264 264
266:147(f64vec3) ExtInst 1(GLSL.std.450) 40(FMax) 263 265
Store 247(f64v3) 266
267:147(f64vec3) Load 222(f64v1)
268:24(float64_t) Load 243(f64)
269: 31(ptr) AccessChain 221(f64v2) 30
270:24(float64_t) Load 269
271:147(f64vec3) CompositeConstruct 268 268 268
272:147(f64vec3) CompositeConstruct 270 270 270
273:147(f64vec3) ExtInst 1(GLSL.std.450) 43(FClamp) 267 271 272
Store 247(f64v3) 273
274:147(f64vec3) Load 222(f64v1)
275:147(f64vec3) Load 221(f64v2)
276:24(float64_t) Load 243(f64)
277:147(f64vec3) CompositeConstruct 276 276 276
278:147(f64vec3) ExtInst 1(GLSL.std.450) 43(FClamp) 274 275 277
Store 247(f64v3) 278
279:147(f64vec3) Load 222(f64v1)
280:147(f64vec3) Load 221(f64v2)
281:24(float64_t) Load 243(f64)
282:147(f64vec3) CompositeConstruct 281 281 281
283:147(f64vec3) ExtInst 1(GLSL.std.450) 46(FMix) 279 280 282
Store 247(f64v3) 283
284:147(f64vec3) Load 222(f64v1)
285:147(f64vec3) Load 221(f64v2)
286:147(f64vec3) Load 247(f64v3)
287:147(f64vec3) ExtInst 1(GLSL.std.450) 46(FMix) 284 285 286
Store 247(f64v3) 287
288:147(f64vec3) Load 222(f64v1)
289:147(f64vec3) Load 221(f64v2)
291: 150(bvec3) Load 290(bv)
292:147(f64vec3) Select 291 289 288
Store 247(f64v3) 292
293:147(f64vec3) Load 222(f64v1)
294:147(f64vec3) Load 221(f64v2)
295:147(f64vec3) ExtInst 1(GLSL.std.450) 48(Step) 293 294
Store 247(f64v3) 295
296:24(float64_t) Load 243(f64)
297:147(f64vec3) Load 247(f64v3)
298:147(f64vec3) CompositeConstruct 296 296 296
299:147(f64vec3) ExtInst 1(GLSL.std.450) 48(Step) 298 297
Store 247(f64v3) 299
300:147(f64vec3) Load 222(f64v1)
301:147(f64vec3) Load 221(f64v2)
302:147(f64vec3) Load 247(f64v3)
303:147(f64vec3) ExtInst 1(GLSL.std.450) 49(SmoothStep) 300 301 302
Store 247(f64v3) 303
304:24(float64_t) Load 243(f64)
305: 31(ptr) AccessChain 222(f64v1) 30
306:24(float64_t) Load 305
307:147(f64vec3) Load 221(f64v2)
308:147(f64vec3) CompositeConstruct 304 304 304
309:147(f64vec3) CompositeConstruct 306 306 306
310:147(f64vec3) ExtInst 1(GLSL.std.450) 49(SmoothStep) 308 309 307
Store 247(f64v3) 310
312:24(float64_t) Load 243(f64)
313: 105(bool) IsNan 312
Store 311(b) 313
314:147(f64vec3) Load 222(f64v1)
315: 150(bvec3) IsInf 314
Store 290(bv) 315
316:147(f64vec3) Load 222(f64v1)
317:147(f64vec3) Load 221(f64v2)
318:147(f64vec3) Load 247(f64v3)
319:147(f64vec3) ExtInst 1(GLSL.std.450) 50(Fma) 316 317 318
Store 247(f64v3) 319
320:147(f64vec3) Load 222(f64v1)
323:322(ResType) ExtInst 1(GLSL.std.450) 52(FrexpStruct) 320
324: 181(ivec3) CompositeExtract 323 1
Store 321(iv) 324
325:147(f64vec3) CompositeExtract 323 0
Store 221(f64v2) 325
326:147(f64vec3) Load 222(f64v1)
327: 181(ivec3) Load 321(iv)
328:147(f64vec3) ExtInst 1(GLSL.std.450) 53(Ldexp) 326 327
Store 221(f64v2) 328
Return
FunctionEnd
16(builtinGeometryFuncs(): 2 Function None 3
17: Label
329(f64): 31(ptr) Variable Function
330(f64v1): 148(ptr) Variable Function
334(f64v2): 148(ptr) Variable Function
340(f64v3): 148(ptr) Variable Function
331:147(f64vec3) Load 330(f64v1)
332:24(float64_t) ExtInst 1(GLSL.std.450) 66(Length) 331
Store 329(f64) 332
333:147(f64vec3) Load 330(f64v1)
335:147(f64vec3) Load 334(f64v2)
336:24(float64_t) ExtInst 1(GLSL.std.450) 67(Distance) 333 335
Store 329(f64) 336
337:147(f64vec3) Load 330(f64v1)
338:147(f64vec3) Load 334(f64v2)
339:24(float64_t) Dot 337 338
Store 329(f64) 339
341:147(f64vec3) Load 330(f64v1)
342:147(f64vec3) Load 334(f64v2)
343:147(f64vec3) ExtInst 1(GLSL.std.450) 68(Cross) 341 342
Store 340(f64v3) 343
344:147(f64vec3) Load 330(f64v1)
345:147(f64vec3) ExtInst 1(GLSL.std.450) 69(Normalize) 344
Store 334(f64v2) 345
346:147(f64vec3) Load 330(f64v1)
347:147(f64vec3) Load 334(f64v2)
348:147(f64vec3) Load 340(f64v3)
349:147(f64vec3) ExtInst 1(GLSL.std.450) 70(FaceForward) 346 347 348
Store 340(f64v3) 349
350:147(f64vec3) Load 330(f64v1)
351:147(f64vec3) Load 334(f64v2)
352:147(f64vec3) ExtInst 1(GLSL.std.450) 71(Reflect) 350 351
Store 340(f64v3) 352
353:147(f64vec3) Load 330(f64v1)
354:147(f64vec3) Load 334(f64v2)
355:24(float64_t) Load 329(f64)
356:147(f64vec3) ExtInst 1(GLSL.std.450) 72(Refract) 353 354 355
Store 340(f64v3) 356
Return
FunctionEnd
18(builtinMatrixFuncs(): 2 Function None 3
19: Label
359(f64m3): 358(ptr) Variable Function
360(f64m1): 358(ptr) Variable Function
362(f64m2): 358(ptr) Variable Function
371(f64v1): 148(ptr) Variable Function
373(f64v2): 26(ptr) Variable Function
378(f64m4): 377(ptr) Variable Function
381(f64): 31(ptr) Variable Function
384(f64m5): 383(ptr) Variable Function
390(f64m6): 389(ptr) Variable Function
391(f64m7): 389(ptr) Variable Function
361: 357 Load 360(f64m1)
363: 357 Load 362(f64m2)
364:147(f64vec3) CompositeExtract 361 0
365:147(f64vec3) CompositeExtract 363 0
366:147(f64vec3) FMul 364 365
367:147(f64vec3) CompositeExtract 361 1
368:147(f64vec3) CompositeExtract 363 1
369:147(f64vec3) FMul 367 368
370: 357 CompositeConstruct 366 369
Store 359(f64m3) 370
372:147(f64vec3) Load 371(f64v1)
374: 25(f64vec2) Load 373(f64v2)
375: 357 OuterProduct 372 374
Store 360(f64m1) 375
379: 357 Load 360(f64m1)
380: 376 Transpose 379
Store 378(f64m4) 380
385: 382 Load 384(f64m5)
386:24(float64_t) ExtInst 1(GLSL.std.450) 33(Determinant) 385
Store 381(f64) 386
392: 388 Load 391(f64m7)
393: 388 ExtInst 1(GLSL.std.450) 34(MatrixInverse) 392
Store 390(f64m6) 393
Return
FunctionEnd
20(builtinVecRelFuncs(): 2 Function None 3
21: Label
394(bv): 151(ptr) Variable Function
395(f64v1): 148(ptr) Variable Function
397(f64v2): 148(ptr) Variable Function
396:147(f64vec3) Load 395(f64v1)
398:147(f64vec3) Load 397(f64v2)
399: 150(bvec3) FOrdLessThan 396 398
Store 394(bv) 399
400:147(f64vec3) Load 395(f64v1)
401:147(f64vec3) Load 397(f64v2)
402: 150(bvec3) FOrdLessThanEqual 400 401
Store 394(bv) 402
403:147(f64vec3) Load 395(f64v1)
404:147(f64vec3) Load 397(f64v2)
405: 150(bvec3) FOrdGreaterThan 403 404
Store 394(bv) 405
406:147(f64vec3) Load 395(f64v1)
407:147(f64vec3) Load 397(f64v2)
408: 150(bvec3) FOrdGreaterThanEqual 406 407
Store 394(bv) 408
409:147(f64vec3) Load 395(f64v1)
410:147(f64vec3) Load 397(f64v2)
411: 150(bvec3) FOrdEqual 409 410
Store 394(bv) 411
412:147(f64vec3) Load 395(f64v1)
413:147(f64vec3) Load 397(f64v2)
414: 150(bvec3) FUnordNotEqual 412 413
Store 394(bv) 414
Return
FunctionEnd
22(builtinFragProcFuncs(): 2 Function None 3
23: Label
415(f64v): 148(ptr) Variable Function
419: 418(ptr) AccessChain 417(if64v) 30
420:24(float64_t) Load 419
421:24(float64_t) DPdx 420
422: 31(ptr) AccessChain 415(f64v) 30
Store 422 421
423: 418(ptr) AccessChain 417(if64v) 86
424:24(float64_t) Load 423
425:24(float64_t) DPdy 424
426: 31(ptr) AccessChain 415(f64v) 86
Store 426 425
427:147(f64vec3) Load 417(if64v)
428: 25(f64vec2) VectorShuffle 427 427 0 1
429: 25(f64vec2) DPdxFine 428
430: 31(ptr) AccessChain 415(f64v) 30
431:24(float64_t) CompositeExtract 429 0
Store 430 431
432: 31(ptr) AccessChain 415(f64v) 86
433:24(float64_t) CompositeExtract 429 1
Store 432 433
434:147(f64vec3) Load 417(if64v)
435: 25(f64vec2) VectorShuffle 434 434 0 1
436: 25(f64vec2) DPdyFine 435
437: 31(ptr) AccessChain 415(f64v) 30
438:24(float64_t) CompositeExtract 436 0
Store 437 438
439: 31(ptr) AccessChain 415(f64v) 86
440:24(float64_t) CompositeExtract 436 1
Store 439 440
441:147(f64vec3) Load 417(if64v)
442:147(f64vec3) DPdxCoarse 441
Store 415(f64v) 442
443:147(f64vec3) Load 417(if64v)
444:147(f64vec3) DPdxCoarse 443
Store 415(f64v) 444
445: 418(ptr) AccessChain 417(if64v) 30
446:24(float64_t) Load 445
447:24(float64_t) Fwidth 446
448: 31(ptr) AccessChain 415(f64v) 30
Store 448 447
449:147(f64vec3) Load 417(if64v)
450: 25(f64vec2) VectorShuffle 449 449 0 1
451: 25(f64vec2) FwidthFine 450
452: 31(ptr) AccessChain 415(f64v) 30
453:24(float64_t) CompositeExtract 451 0
Store 452 453
454: 31(ptr) AccessChain 415(f64v) 86
455:24(float64_t) CompositeExtract 451 1
Store 454 455
456:147(f64vec3) Load 417(if64v)
457:147(f64vec3) FwidthCoarse 456
Store 415(f64v) 457
458: 418(ptr) AccessChain 417(if64v) 30
459:24(float64_t) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 458
460: 31(ptr) AccessChain 415(f64v) 30
Store 460 459
462:147(f64vec3) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 417(if64v) 461
463: 25(f64vec2) VectorShuffle 462 462 0 1
464: 31(ptr) AccessChain 415(f64v) 30
465:24(float64_t) CompositeExtract 463 0
Store 464 465
466: 31(ptr) AccessChain 415(f64v) 86
467:24(float64_t) CompositeExtract 463 1
Store 466 467
470:147(f64vec3) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 417(if64v) 469
Store 415(f64v) 470
Return
FunctionEnd