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)
15 0:13 'x' ( temp 3-component vector of float)
17 0:17 'x' ( temp float)
19 0:21 Test condition and select ( temp void)
21 0:21 Compare Greater Than ( temp bool)
25 0:21 true case is null
26 0:24 Loop with condition tested first
28 0:24 Compare Greater Than ( temp bool)
33 0:27 Loop with condition not tested first
35 0:29 Compare Greater Than ( temp bool)
40 0:2 Function Definition: PixelShaderFunction( ( temp void)
41 0:2 Function Parameters:
43 0:2 move second child to first child ( temp 4-component vector of float)
44 0:? 'input' ( temp 4-component vector of float)
45 0:? 'input' (layout( location=0) in 4-component vector of float)
46 0:2 Function Call: @PixelShaderFunction(vf4; ( temp void)
47 0:? 'input' ( temp 4-component vector of float)
49 0:? 'input' (layout( location=0) in 4-component vector of float)
52 Linked fragment stage:
56 gl_FragCoord origin is upper left
58 0:2 Function Definition: @PixelShaderFunction(vf4; ( temp void)
59 0:2 Function Parameters:
60 0:2 'input' ( in 4-component vector of float)
68 0:13 'x' ( temp 3-component vector of float)
70 0:17 'x' ( temp float)
72 0:21 Test condition and select ( temp void)
74 0:21 Compare Greater Than ( temp bool)
78 0:21 true case is null
79 0:24 Loop with condition tested first
81 0:24 Compare Greater Than ( temp bool)
86 0:27 Loop with condition not tested first
88 0:29 Compare Greater Than ( temp bool)
93 0:2 Function Definition: PixelShaderFunction( ( temp void)
94 0:2 Function Parameters:
96 0:2 move second child to first child ( temp 4-component vector of float)
97 0:? 'input' ( temp 4-component vector of float)
98 0:? 'input' (layout( location=0) in 4-component vector of float)
99 0:2 Function Call: @PixelShaderFunction(vf4; ( temp void)
100 0:? 'input' ( temp 4-component vector of float)
102 0:? 'input' (layout( location=0) in 4-component vector of float)
104 // Module Version 10000
105 // Generated by (magic number): 80001
106 // Id's are bound by 49
109 1: ExtInstImport "GLSL.std.450"
110 MemoryModel Logical GLSL450
111 EntryPoint Fragment 4 "PixelShaderFunction" 44
112 ExecutionMode 4 OriginUpperLeft
113 Name 4 "PixelShaderFunction"
114 Name 11 "@PixelShaderFunction(vf4;"
123 Decorate 44(input) Location 0
127 7: TypeVector 6(float) 4
128 8: TypePointer Function 7(fvec4)
129 9: TypeFunction 2 8(ptr)
131 14: TypePointer Function 13(int)
132 16: TypePointer Function 6(float)
134 19: TypePointer Function 18(bool)
135 21: TypeVector 6(float) 3
136 22: TypePointer Function 21(fvec3)
137 25: 13(int) Constant 0
138 43: TypePointer Input 7(fvec4)
139 44(input): 43(ptr) Variable Input
140 4(PixelShaderFunction): 2 Function None 3
142 42(input): 8(ptr) Variable Function
143 46(param): 8(ptr) Variable Function
144 45: 7(fvec4) Load 44(input)
146 47: 7(fvec4) Load 42(input)
148 48: 2 FunctionCall 11(@PixelShaderFunction(vf4;) 46(param)
151 11(@PixelShaderFunction(vf4;): 2 Function None 9
152 10(input): 8(ptr) FunctionParameter
154 15(x): 14(ptr) Variable Function
155 17(x): 16(ptr) Variable Function
156 20(x): 19(ptr) Variable Function
157 23(x): 22(ptr) Variable Function
158 24: 13(int) Load 15(x)
159 26: 18(bool) SGreaterThan 24 25
160 SelectionMerge 28 None
161 BranchConditional 26 27 28
170 34: 13(int) Load 15(x)
171 35: 18(bool) SGreaterThan 34 25
172 BranchConditional 35 30 31
185 40: 13(int) Load 15(x)
186 41: 18(bool) SGreaterThan 40 25
187 BranchConditional 41 36 38