3 gl_FragCoord origin is upper left
5 0:2 Function Definition: @PixelShaderFunction(vf4; ( temp void)
6 0:2 Function Parameters:
7 0:2 'input' ( in 4-component vector of float)
9 0:11 Test condition and select ( temp void)
12 0:11 false (const bool)
13 0:11 true case is null
14 0:2 Function Definition: PixelShaderFunction( ( temp void)
15 0:2 Function Parameters:
17 0:2 move second child to first child ( temp 4-component vector of float)
18 0:? 'input' ( temp 4-component vector of float)
19 0:? 'input' (layout( location=0) in 4-component vector of float)
20 0:2 Function Call: @PixelShaderFunction(vf4; ( temp void)
21 0:? 'input' ( temp 4-component vector of float)
23 0:? 'input' (layout( location=0) in 4-component vector of float)
26 Linked fragment stage:
30 gl_FragCoord origin is upper left
32 0:2 Function Definition: @PixelShaderFunction(vf4; ( temp void)
33 0:2 Function Parameters:
34 0:2 'input' ( in 4-component vector of float)
36 0:11 Test condition and select ( temp void)
39 0:11 false (const bool)
40 0:11 true case is null
41 0:2 Function Definition: PixelShaderFunction( ( temp void)
42 0:2 Function Parameters:
44 0:2 move second child to first child ( temp 4-component vector of float)
45 0:? 'input' ( temp 4-component vector of float)
46 0:? 'input' (layout( location=0) in 4-component vector of float)
47 0:2 Function Call: @PixelShaderFunction(vf4; ( temp void)
48 0:? 'input' ( temp 4-component vector of float)
50 0:? 'input' (layout( location=0) in 4-component vector of float)
52 // Module Version 10000
53 // Generated by (magic number): 80001
54 // Id's are bound by 24
57 1: ExtInstImport "GLSL.std.450"
58 MemoryModel Logical GLSL450
59 EntryPoint Fragment 4 "PixelShaderFunction" 19
60 ExecutionMode 4 OriginUpperLeft
61 Name 4 "PixelShaderFunction"
62 Name 11 "@PixelShaderFunction(vf4;"
67 Decorate 19(input) Location 0
71 7: TypeVector 6(float) 4
72 8: TypePointer Function 7(fvec4)
73 9: TypeFunction 2 8(ptr)
75 14: 13(bool) ConstantFalse
76 18: TypePointer Input 7(fvec4)
77 19(input): 18(ptr) Variable Input
78 4(PixelShaderFunction): 2 Function None 3
80 17(input): 8(ptr) Variable Function
81 21(param): 8(ptr) Variable Function
82 20: 7(fvec4) Load 19(input)
84 22: 7(fvec4) Load 17(input)
86 23: 2 FunctionCall 11(@PixelShaderFunction(vf4;) 21(param)
89 11(@PixelShaderFunction(vf4;): 2 Function None 9
90 10(input): 8(ptr) FunctionParameter
92 SelectionMerge 16 None
93 BranchConditional 14 15 16