3 gl_FragCoord origin is upper left
5 0:8 Function Definition: vectorCond( ( temp 4-component vector of float)
6 0:8 Function Parameters:
8 0:12 Branch: Return with expression
9 0:11 add ( temp 4-component vector of float)
10 0:10 add ( temp 4-component vector of float)
11 0:9 add ( temp 4-component vector of float)
12 0:9 mix ( temp 4-component vector of float)
13 0:9 f4: direct index for structure ( uniform 4-component vector of float)
14 0:9 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
17 0:9 t4: direct index for structure ( uniform 4-component vector of float)
18 0:9 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
21 0:9 Convert float to bool ( temp 4-component vector of bool)
22 0:9 c4: direct index for structure ( uniform 4-component vector of float)
23 0:9 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
26 0:10 mix ( temp 4-component vector of float)
27 0:10 Construct vec4 ( temp 4-component vector of float)
28 0:10 f: direct index for structure ( uniform float)
29 0:10 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
32 0:10 Construct vec4 ( temp 4-component vector of float)
33 0:10 t: direct index for structure ( uniform float)
34 0:10 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
37 0:10 Convert float to bool ( temp 4-component vector of bool)
38 0:10 c4: direct index for structure ( uniform 4-component vector of float)
39 0:10 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
42 0:11 mix ( temp 4-component vector of float)
43 0:11 f4: direct index for structure ( uniform 4-component vector of float)
44 0:11 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
47 0:11 t4: direct index for structure ( uniform 4-component vector of float)
48 0:11 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
51 0:11 Compare Less Than ( temp 4-component vector of bool)
52 0:11 t4: direct index for structure ( uniform 4-component vector of float)
53 0:11 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
56 0:11 f4: direct index for structure ( uniform 4-component vector of float)
57 0:11 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
60 0:12 mix ( temp 4-component vector of float)
61 0:12 f4: direct index for structure ( uniform 4-component vector of float)
62 0:12 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
65 0:12 Construct vec4 ( temp 4-component vector of float)
66 0:12 t: direct index for structure ( uniform float)
67 0:12 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
70 0:12 Convert float to bool ( temp 4-component vector of bool)
71 0:12 c4: direct index for structure ( uniform 4-component vector of float)
72 0:12 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
75 0:16 Function Definition: scalarCond( ( temp 4-component vector of float)
76 0:16 Function Parameters:
79 0:17 move second child to first child ( temp 4-component vector of float)
80 0:17 'ret' ( temp 4-component vector of float)
81 0:17 Test condition and select ( temp 4-component vector of float): no shortcircuit
83 0:17 Compare Not Equal ( temp bool)
84 0:17 t: direct index for structure ( uniform float)
85 0:17 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
88 0:17 f: direct index for structure ( uniform float)
89 0:17 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
93 0:17 vector-scale ( temp 4-component vector of float)
94 0:17 t: direct index for structure ( uniform float)
95 0:17 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
98 0:17 f4: direct index for structure ( uniform 4-component vector of float)
99 0:17 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
108 0:18 Branch: Return with expression
109 0:18 'ret' ( temp 4-component vector of float)
110 0:22 Function Definition: fbSelect(vb2;vf2;vf2; ( temp 2-component vector of float)
111 0:22 Function Parameters:
112 0:22 'cnd' ( in 2-component vector of bool)
113 0:22 'src0' ( in 2-component vector of float)
114 0:22 'src1' ( in 2-component vector of float)
116 0:23 Branch: Return with expression
117 0:23 mix ( temp 2-component vector of float)
118 0:23 'src1' ( in 2-component vector of float)
119 0:23 'src0' ( in 2-component vector of float)
120 0:23 'cnd' ( in 2-component vector of bool)
121 0:27 Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
122 0:27 Function Parameters:
123 0:27 'input' ( in 4-component vector of float)
126 0:28 move second child to first child ( temp int)
131 0:29 move second child to first child ( temp int)
136 0:30 move second child to first child ( temp int)
141 0:31 move second child to first child ( temp int)
146 0:32 move second child to first child ( temp 4-component vector of float)
147 0:32 'ret' ( temp 4-component vector of float)
148 0:34 add ( temp 4-component vector of float)
149 0:33 add ( temp 4-component vector of float)
150 0:32 add ( temp 4-component vector of float)
151 0:32 vector-scale ( temp 4-component vector of float)
152 0:32 Convert int to float ( temp float)
154 0:32 'input' ( in 4-component vector of float)
155 0:33 vector-scale ( temp 4-component vector of float)
156 0:33 Convert int to float ( temp float)
158 0:33 'input' ( in 4-component vector of float)
159 0:34 vector-scale ( temp 4-component vector of float)
160 0:34 Convert int to float ( temp float)
162 0:34 'input' ( in 4-component vector of float)
163 0:35 vector-scale ( temp 4-component vector of float)
164 0:35 Convert int to float ( temp float)
166 0:35 'input' ( in 4-component vector of float)
167 0:37 Comma ( temp int)
168 0:37 move second child to first child ( temp int)
170 0:37 move second child to first child ( temp int)
172 0:37 Test condition and select ( temp int): no shortcircuit
174 0:37 Convert int to bool ( temp bool)
177 0:37 move second child to first child ( temp int)
183 0:37 move second child to first child ( temp int)
185 0:37 Test condition and select ( temp int): no shortcircuit
187 0:37 Convert int to bool ( temp bool)
190 0:37 move second child to first child ( temp int)
196 0:39 move second child to first child ( temp 4-component vector of float)
197 0:39 'f' ( temp 4-component vector of float)
198 0:39 Test condition and select ( temp 4-component vector of float): no shortcircuit
200 0:39 Compare Less Than ( temp bool)
201 0:39 direct index ( temp float)
202 0:39 'ret' ( temp 4-component vector of float)
205 0:39 direct index ( temp float)
206 0:39 'input' ( in 4-component vector of float)
210 0:39 vector-scale ( temp 4-component vector of float)
211 0:39 Convert int to float ( temp float)
213 0:39 'input' ( in 4-component vector of float)
215 0:39 vector-scale ( temp 4-component vector of float)
216 0:39 Convert int to float ( temp float)
218 0:39 'input' ( in 4-component vector of float)
219 0:41 Branch: Return with expression
220 0:40 add ( temp 4-component vector of float)
221 0:40 add ( temp 4-component vector of float)
222 0:40 add ( temp 4-component vector of float)
223 0:40 add ( temp 4-component vector of float)
224 0:40 vector-scale ( temp 4-component vector of float)
225 0:40 Convert int to float ( temp float)
227 0:40 'ret' ( temp 4-component vector of float)
228 0:40 'f' ( temp 4-component vector of float)
229 0:40 Function Call: vectorCond( ( temp 4-component vector of float)
230 0:40 Function Call: scalarCond( ( temp 4-component vector of float)
231 0:41 Construct vec4 ( temp 4-component vector of float)
232 0:41 Function Call: fbSelect(vb2;vf2;vf2; ( temp 2-component vector of float)
234 0:41 true (const bool)
235 0:41 false (const bool)
246 0:27 Function Definition: PixelShaderFunction( ( temp void)
247 0:27 Function Parameters:
249 0:27 move second child to first child ( temp 4-component vector of float)
250 0:? 'input' ( temp 4-component vector of float)
251 0:? 'input' (layout( location=0) in 4-component vector of float)
252 0:27 move second child to first child ( temp 4-component vector of float)
253 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
254 0:27 Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
255 0:? 'input' ( temp 4-component vector of float)
257 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
258 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
259 0:? 'input' (layout( location=0) in 4-component vector of float)
262 Linked fragment stage:
266 gl_FragCoord origin is upper left
268 0:8 Function Definition: vectorCond( ( temp 4-component vector of float)
269 0:8 Function Parameters:
271 0:12 Branch: Return with expression
272 0:11 add ( temp 4-component vector of float)
273 0:10 add ( temp 4-component vector of float)
274 0:9 add ( temp 4-component vector of float)
275 0:9 mix ( temp 4-component vector of float)
276 0:9 f4: direct index for structure ( uniform 4-component vector of float)
277 0:9 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
280 0:9 t4: direct index for structure ( uniform 4-component vector of float)
281 0:9 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
284 0:9 Convert float to bool ( temp 4-component vector of bool)
285 0:9 c4: direct index for structure ( uniform 4-component vector of float)
286 0:9 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
289 0:10 mix ( temp 4-component vector of float)
290 0:10 Construct vec4 ( temp 4-component vector of float)
291 0:10 f: direct index for structure ( uniform float)
292 0:10 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
295 0:10 Construct vec4 ( temp 4-component vector of float)
296 0:10 t: direct index for structure ( uniform float)
297 0:10 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
300 0:10 Convert float to bool ( temp 4-component vector of bool)
301 0:10 c4: direct index for structure ( uniform 4-component vector of float)
302 0:10 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
305 0:11 mix ( temp 4-component vector of float)
306 0:11 f4: direct index for structure ( uniform 4-component vector of float)
307 0:11 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
310 0:11 t4: direct index for structure ( uniform 4-component vector of float)
311 0:11 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
314 0:11 Compare Less Than ( temp 4-component vector of bool)
315 0:11 t4: direct index for structure ( uniform 4-component vector of float)
316 0:11 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
319 0:11 f4: direct index for structure ( uniform 4-component vector of float)
320 0:11 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
323 0:12 mix ( temp 4-component vector of float)
324 0:12 f4: direct index for structure ( uniform 4-component vector of float)
325 0:12 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
328 0:12 Construct vec4 ( temp 4-component vector of float)
329 0:12 t: direct index for structure ( uniform float)
330 0:12 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
333 0:12 Convert float to bool ( temp 4-component vector of bool)
334 0:12 c4: direct index for structure ( uniform 4-component vector of float)
335 0:12 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
338 0:16 Function Definition: scalarCond( ( temp 4-component vector of float)
339 0:16 Function Parameters:
342 0:17 move second child to first child ( temp 4-component vector of float)
343 0:17 'ret' ( temp 4-component vector of float)
344 0:17 Test condition and select ( temp 4-component vector of float): no shortcircuit
346 0:17 Compare Not Equal ( temp bool)
347 0:17 t: direct index for structure ( uniform float)
348 0:17 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
351 0:17 f: direct index for structure ( uniform float)
352 0:17 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
356 0:17 vector-scale ( temp 4-component vector of float)
357 0:17 t: direct index for structure ( uniform float)
358 0:17 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
361 0:17 f4: direct index for structure ( uniform 4-component vector of float)
362 0:17 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
371 0:18 Branch: Return with expression
372 0:18 'ret' ( temp 4-component vector of float)
373 0:22 Function Definition: fbSelect(vb2;vf2;vf2; ( temp 2-component vector of float)
374 0:22 Function Parameters:
375 0:22 'cnd' ( in 2-component vector of bool)
376 0:22 'src0' ( in 2-component vector of float)
377 0:22 'src1' ( in 2-component vector of float)
379 0:23 Branch: Return with expression
380 0:23 mix ( temp 2-component vector of float)
381 0:23 'src1' ( in 2-component vector of float)
382 0:23 'src0' ( in 2-component vector of float)
383 0:23 'cnd' ( in 2-component vector of bool)
384 0:27 Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
385 0:27 Function Parameters:
386 0:27 'input' ( in 4-component vector of float)
389 0:28 move second child to first child ( temp int)
394 0:29 move second child to first child ( temp int)
399 0:30 move second child to first child ( temp int)
404 0:31 move second child to first child ( temp int)
409 0:32 move second child to first child ( temp 4-component vector of float)
410 0:32 'ret' ( temp 4-component vector of float)
411 0:34 add ( temp 4-component vector of float)
412 0:33 add ( temp 4-component vector of float)
413 0:32 add ( temp 4-component vector of float)
414 0:32 vector-scale ( temp 4-component vector of float)
415 0:32 Convert int to float ( temp float)
417 0:32 'input' ( in 4-component vector of float)
418 0:33 vector-scale ( temp 4-component vector of float)
419 0:33 Convert int to float ( temp float)
421 0:33 'input' ( in 4-component vector of float)
422 0:34 vector-scale ( temp 4-component vector of float)
423 0:34 Convert int to float ( temp float)
425 0:34 'input' ( in 4-component vector of float)
426 0:35 vector-scale ( temp 4-component vector of float)
427 0:35 Convert int to float ( temp float)
429 0:35 'input' ( in 4-component vector of float)
430 0:37 Comma ( temp int)
431 0:37 move second child to first child ( temp int)
433 0:37 move second child to first child ( temp int)
435 0:37 Test condition and select ( temp int): no shortcircuit
437 0:37 Convert int to bool ( temp bool)
440 0:37 move second child to first child ( temp int)
446 0:37 move second child to first child ( temp int)
448 0:37 Test condition and select ( temp int): no shortcircuit
450 0:37 Convert int to bool ( temp bool)
453 0:37 move second child to first child ( temp int)
459 0:39 move second child to first child ( temp 4-component vector of float)
460 0:39 'f' ( temp 4-component vector of float)
461 0:39 Test condition and select ( temp 4-component vector of float): no shortcircuit
463 0:39 Compare Less Than ( temp bool)
464 0:39 direct index ( temp float)
465 0:39 'ret' ( temp 4-component vector of float)
468 0:39 direct index ( temp float)
469 0:39 'input' ( in 4-component vector of float)
473 0:39 vector-scale ( temp 4-component vector of float)
474 0:39 Convert int to float ( temp float)
476 0:39 'input' ( in 4-component vector of float)
478 0:39 vector-scale ( temp 4-component vector of float)
479 0:39 Convert int to float ( temp float)
481 0:39 'input' ( in 4-component vector of float)
482 0:41 Branch: Return with expression
483 0:40 add ( temp 4-component vector of float)
484 0:40 add ( temp 4-component vector of float)
485 0:40 add ( temp 4-component vector of float)
486 0:40 add ( temp 4-component vector of float)
487 0:40 vector-scale ( temp 4-component vector of float)
488 0:40 Convert int to float ( temp float)
490 0:40 'ret' ( temp 4-component vector of float)
491 0:40 'f' ( temp 4-component vector of float)
492 0:40 Function Call: vectorCond( ( temp 4-component vector of float)
493 0:40 Function Call: scalarCond( ( temp 4-component vector of float)
494 0:41 Construct vec4 ( temp 4-component vector of float)
495 0:41 Function Call: fbSelect(vb2;vf2;vf2; ( temp 2-component vector of float)
497 0:41 true (const bool)
498 0:41 false (const bool)
509 0:27 Function Definition: PixelShaderFunction( ( temp void)
510 0:27 Function Parameters:
512 0:27 move second child to first child ( temp 4-component vector of float)
513 0:? 'input' ( temp 4-component vector of float)
514 0:? 'input' (layout( location=0) in 4-component vector of float)
515 0:27 move second child to first child ( temp 4-component vector of float)
516 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
517 0:27 Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
518 0:? 'input' ( temp 4-component vector of float)
520 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float c4, uniform 4-component vector of float t4, uniform 4-component vector of float f4, uniform float t, uniform float f})
521 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
522 0:? 'input' (layout( location=0) in 4-component vector of float)
524 // Module Version 10000
525 // Generated by (magic number): 8000b
526 // Id's are bound by 206
529 1: ExtInstImport "GLSL.std.450"
530 MemoryModel Logical GLSL450
531 EntryPoint Fragment 4 "PixelShaderFunction" 199 202
532 ExecutionMode 4 OriginUpperLeft
534 Name 4 "PixelShaderFunction"
536 Name 11 "scalarCond("
537 Name 22 "fbSelect(vb2;vf2;vf2;"
541 Name 27 "@PixelShaderFunction(vf4;"
544 MemberName 29($Global) 0 "c4"
545 MemberName 29($Global) 1 "t4"
546 MemberName 29($Global) 2 "f4"
547 MemberName 29($Global) 3 "t"
548 MemberName 29($Global) 4 "f"
563 Name 202 "@entryPointOutput"
565 MemberDecorate 29($Global) 0 Offset 0
566 MemberDecorate 29($Global) 1 Offset 16
567 MemberDecorate 29($Global) 2 Offset 32
568 MemberDecorate 29($Global) 3 Offset 48
569 MemberDecorate 29($Global) 4 Offset 52
570 Decorate 29($Global) Block
571 Decorate 31 DescriptorSet 0
572 Decorate 31 Binding 0
573 Decorate 199(input) Location 0
574 Decorate 202(@entryPointOutput) Location 0
578 7: TypeVector 6(float) 4
579 8: TypeFunction 7(fvec4)
581 14: TypeVector 13(bool) 2
582 15: TypePointer Function 14(bvec2)
583 16: TypeVector 6(float) 2
584 17: TypePointer Function 16(fvec2)
585 18: TypeFunction 16(fvec2) 15(ptr) 17(ptr) 17(ptr)
586 24: TypePointer Function 7(fvec4)
587 25: TypeFunction 7(fvec4) 24(ptr)
588 29($Global): TypeStruct 7(fvec4) 7(fvec4) 7(fvec4) 6(float) 6(float)
589 30: TypePointer Uniform 29($Global)
590 31: 30(ptr) Variable Uniform
592 33: 32(int) Constant 2
593 34: TypePointer Uniform 7(fvec4)
594 37: 32(int) Constant 1
595 40: 32(int) Constant 0
596 43: TypeVector 13(bool) 4
597 44: 6(float) Constant 0
598 45: 7(fvec4) ConstantComposite 44 44 44 44
599 48: 32(int) Constant 4
600 49: TypePointer Uniform 6(float)
601 53: 32(int) Constant 3
602 96: 6(float) Constant 1065353216
603 97: 7(fvec4) ConstantComposite 96 96 96 96
604 109: TypePointer Function 32(int)
605 111: 32(int) Constant 5
606 113: 32(int) Constant 6
607 115: 32(int) Constant 7
609 140: 139(int) Constant 0
610 143: 32(int) Constant 10
611 148: 32(int) Constant 11
612 151: TypePointer Function 6(float)
613 154: 139(int) Constant 1
614 178: 13(bool) ConstantTrue
615 179: 13(bool) ConstantFalse
616 180: 14(bvec2) ConstantComposite 178 179
617 181: 6(float) Constant 1073741824
618 182: 16(fvec2) ConstantComposite 96 181
619 183: 6(float) Constant 1077936128
620 184: 6(float) Constant 1082130432
621 185: 16(fvec2) ConstantComposite 183 184
622 190: 6(float) Constant 1092616192
623 198: TypePointer Input 7(fvec4)
624 199(input): 198(ptr) Variable Input
625 201: TypePointer Output 7(fvec4)
626 202(@entryPointOutput): 201(ptr) Variable Output
627 4(PixelShaderFunction): 2 Function None 3
629 197(input): 24(ptr) Variable Function
630 203(param): 24(ptr) Variable Function
631 200: 7(fvec4) Load 199(input)
633 204: 7(fvec4) Load 197(input)
635 205: 7(fvec4) FunctionCall 27(@PixelShaderFunction(vf4;) 203(param)
636 Store 202(@entryPointOutput) 205
639 9(vectorCond(): 7(fvec4) Function None 8
641 35: 34(ptr) AccessChain 31 33
643 38: 34(ptr) AccessChain 31 37
645 41: 34(ptr) AccessChain 31 40
647 46: 43(bvec4) FUnordNotEqual 42 45
648 47: 7(fvec4) Select 46 39 36
649 50: 49(ptr) AccessChain 31 48
651 52: 7(fvec4) CompositeConstruct 51 51 51 51
652 54: 49(ptr) AccessChain 31 53
654 56: 7(fvec4) CompositeConstruct 55 55 55 55
655 57: 34(ptr) AccessChain 31 40
657 59: 43(bvec4) FUnordNotEqual 58 45
658 60: 7(fvec4) Select 59 56 52
659 61: 7(fvec4) FAdd 47 60
660 62: 34(ptr) AccessChain 31 33
662 64: 34(ptr) AccessChain 31 37
664 66: 34(ptr) AccessChain 31 37
666 68: 34(ptr) AccessChain 31 33
668 70: 43(bvec4) FOrdLessThan 67 69
669 71: 7(fvec4) Select 70 65 63
670 72: 7(fvec4) FAdd 61 71
671 73: 34(ptr) AccessChain 31 33
673 75: 49(ptr) AccessChain 31 53
675 77: 7(fvec4) CompositeConstruct 76 76 76 76
676 78: 34(ptr) AccessChain 31 40
678 80: 43(bvec4) FUnordNotEqual 79 45
679 81: 7(fvec4) Select 80 77 74
680 82: 7(fvec4) FAdd 72 81
683 11(scalarCond(): 7(fvec4) Function None 8
685 85(ret): 24(ptr) Variable Function
686 86: 49(ptr) AccessChain 31 53
688 88: 49(ptr) AccessChain 31 48
690 90: 13(bool) FUnordNotEqual 87 89
691 91: 49(ptr) AccessChain 31 53
693 93: 34(ptr) AccessChain 31 33
695 95: 7(fvec4) VectorTimesScalar 94 92
696 98: 43(bvec4) CompositeConstruct 90 90 90 90
697 99: 7(fvec4) Select 98 95 97
699 100: 7(fvec4) Load 85(ret)
702 22(fbSelect(vb2;vf2;vf2;): 16(fvec2) Function None 18
703 19(cnd): 15(ptr) FunctionParameter
704 20(src0): 17(ptr) FunctionParameter
705 21(src1): 17(ptr) FunctionParameter
707 103: 16(fvec2) Load 21(src1)
708 104: 16(fvec2) Load 20(src0)
709 105: 14(bvec2) Load 19(cnd)
710 106: 16(fvec2) Select 105 104 103
713 27(@PixelShaderFunction(vf4;): 7(fvec4) Function None 25
714 26(input): 24(ptr) FunctionParameter
716 110(a): 109(ptr) Variable Function
717 112(b): 109(ptr) Variable Function
718 114(c): 109(ptr) Variable Function
719 116(d): 109(ptr) Variable Function
720 117(ret): 24(ptr) Variable Function
721 137(e): 109(ptr) Variable Function
722 150(f): 24(ptr) Variable Function
723 186(param): 15(ptr) Variable Function
724 187(param): 17(ptr) Variable Function
725 188(param): 17(ptr) Variable Function
730 118: 32(int) Load 110(a)
731 119: 6(float) ConvertSToF 118
732 120: 7(fvec4) Load 26(input)
733 121: 7(fvec4) VectorTimesScalar 120 119
734 122: 32(int) Load 112(b)
735 123: 6(float) ConvertSToF 122
736 124: 7(fvec4) Load 26(input)
737 125: 7(fvec4) VectorTimesScalar 124 123
738 126: 7(fvec4) FAdd 121 125
739 127: 32(int) Load 114(c)
740 128: 6(float) ConvertSToF 127
741 129: 7(fvec4) Load 26(input)
742 130: 7(fvec4) VectorTimesScalar 129 128
743 131: 7(fvec4) FAdd 126 130
744 132: 32(int) Load 116(d)
745 133: 6(float) ConvertSToF 132
746 134: 7(fvec4) Load 26(input)
747 135: 7(fvec4) VectorTimesScalar 134 133
748 136: 7(fvec4) FAdd 131 135
750 138: 32(int) Load 112(b)
751 141: 13(bool) INotEqual 138 140
752 142: 32(int) Load 116(d)
754 144: 32(int) Select 141 142 143
757 145: 32(int) Load 110(a)
758 146: 13(bool) INotEqual 145 140
759 147: 32(int) Load 114(c)
761 149: 32(int) Select 146 147 148
763 152: 151(ptr) AccessChain 117(ret) 140
764 153: 6(float) Load 152
765 155: 151(ptr) AccessChain 26(input) 154
766 156: 6(float) Load 155
767 157: 13(bool) FOrdLessThan 153 156
768 158: 32(int) Load 114(c)
769 159: 6(float) ConvertSToF 158
770 160: 7(fvec4) Load 26(input)
771 161: 7(fvec4) VectorTimesScalar 160 159
772 162: 32(int) Load 116(d)
773 163: 6(float) ConvertSToF 162
774 164: 7(fvec4) Load 26(input)
775 165: 7(fvec4) VectorTimesScalar 164 163
776 166: 43(bvec4) CompositeConstruct 157 157 157 157
777 167: 7(fvec4) Select 166 161 165
779 168: 32(int) Load 137(e)
780 169: 6(float) ConvertSToF 168
781 170: 7(fvec4) Load 117(ret)
782 171: 7(fvec4) VectorTimesScalar 170 169
783 172: 7(fvec4) Load 150(f)
784 173: 7(fvec4) FAdd 171 172
785 174: 7(fvec4) FunctionCall 9(vectorCond()
786 175: 7(fvec4) FAdd 173 174
787 176: 7(fvec4) FunctionCall 11(scalarCond()
788 177: 7(fvec4) FAdd 175 176
792 189: 16(fvec2) FunctionCall 22(fbSelect(vb2;vf2;vf2;) 186(param) 187(param) 188(param)
793 191: 6(float) CompositeExtract 189 0
794 192: 6(float) CompositeExtract 189 1
795 193: 7(fvec4) CompositeConstruct 191 192 190 190
796 194: 7(fvec4) FAdd 177 193