3 gl_FragCoord origin is upper left
5 0:2 Function Definition: @PixelShaderFunction(f1; ( temp 4-component vector of float)
6 0:2 Function Parameters:
7 0:2 'input' ( in float)
9 0:3 Loop with condition not tested first: Unroll
12 0:3 false (const bool)
14 0:4 Loop with condition not tested first: Unroll
17 0:4 false (const bool)
19 0:5 Loop with condition not tested first
21 0:5 Compare Greater Than ( temp bool)
22 0:5 'input' ( in float)
27 0:5 Branch: Return with expression
28 0:5 Construct vec4 ( temp 4-component vector of float)
29 0:5 'input' ( in float)
30 0:6 Loop with condition not tested first
32 0:6 Compare Less Than ( temp bool)
33 0:6 'input' ( in float)
37 0:6 Pre-Increment ( temp float)
38 0:6 'input' ( in float)
39 0:7 Loop with condition not tested first
41 0:7 Compare Less Than ( temp bool)
42 0:7 Pre-Increment ( temp float)
43 0:7 'input' ( in float)
47 0:7 Loop with condition tested first
49 0:7 Compare Less Than ( temp bool)
50 0:7 Pre-Increment ( temp float)
51 0:7 'input' ( in float)
55 0:8 Branch: Return with expression
56 0:8 Construct vec4 ( temp 4-component vector of float)
57 0:8 'input' ( in float)
58 0:2 Function Definition: PixelShaderFunction( ( temp void)
59 0:2 Function Parameters:
61 0:2 move second child to first child ( temp float)
62 0:? 'input' ( temp float)
63 0:? 'input' (layout( location=0) in float)
64 0:2 move second child to first child ( temp 4-component vector of float)
65 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
66 0:2 Function Call: @PixelShaderFunction(f1; ( temp 4-component vector of float)
67 0:? 'input' ( temp float)
69 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
70 0:? 'input' (layout( location=0) in float)
73 Linked fragment stage:
77 gl_FragCoord origin is upper left
79 0:2 Function Definition: @PixelShaderFunction(f1; ( temp 4-component vector of float)
80 0:2 Function Parameters:
81 0:2 'input' ( in float)
83 0:3 Loop with condition not tested first: Unroll
86 0:3 false (const bool)
88 0:4 Loop with condition not tested first: Unroll
91 0:4 false (const bool)
93 0:5 Loop with condition not tested first
95 0:5 Compare Greater Than ( temp bool)
96 0:5 'input' ( in float)
101 0:5 Branch: Return with expression
102 0:5 Construct vec4 ( temp 4-component vector of float)
103 0:5 'input' ( in float)
104 0:6 Loop with condition not tested first
106 0:6 Compare Less Than ( temp bool)
107 0:6 'input' ( in float)
111 0:6 Pre-Increment ( temp float)
112 0:6 'input' ( in float)
113 0:7 Loop with condition not tested first
115 0:7 Compare Less Than ( temp bool)
116 0:7 Pre-Increment ( temp float)
117 0:7 'input' ( in float)
121 0:7 Loop with condition tested first
123 0:7 Compare Less Than ( temp bool)
124 0:7 Pre-Increment ( temp float)
125 0:7 'input' ( in float)
129 0:8 Branch: Return with expression
130 0:8 Construct vec4 ( temp 4-component vector of float)
131 0:8 'input' ( in float)
132 0:2 Function Definition: PixelShaderFunction( ( temp void)
133 0:2 Function Parameters:
135 0:2 move second child to first child ( temp float)
136 0:? 'input' ( temp float)
137 0:? 'input' (layout( location=0) in float)
138 0:2 move second child to first child ( temp 4-component vector of float)
139 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
140 0:2 Function Call: @PixelShaderFunction(f1; ( temp 4-component vector of float)
141 0:? 'input' ( temp float)
143 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
144 0:? 'input' (layout( location=0) in float)
146 // Module Version 10000
147 // Generated by (magic number): 80003
148 // Id's are bound by 71
151 1: ExtInstImport "GLSL.std.450"
152 MemoryModel Logical GLSL450
153 EntryPoint Fragment 4 "PixelShaderFunction" 64 67
154 ExecutionMode 4 OriginUpperLeft
156 Name 4 "PixelShaderFunction"
157 Name 11 "@PixelShaderFunction(f1;"
161 Name 67 "@entryPointOutput"
163 Decorate 64(input) Location 0
164 Decorate 67(@entryPointOutput) Location 0
168 7: TypePointer Function 6(float)
169 8: TypeVector 6(float) 4
170 9: TypeFunction 8(fvec4) 7(ptr)
172 18: 17(bool) ConstantFalse
173 31: 6(float) Constant 1073741824
174 38: 6(float) Constant 1065353216
175 41: 6(float) Constant 1092616192
176 63: TypePointer Input 6(float)
177 64(input): 63(ptr) Variable Input
178 66: TypePointer Output 8(fvec4)
179 67(@entryPointOutput): 66(ptr) Variable Output
180 4(PixelShaderFunction): 2 Function None 3
182 62(input): 7(ptr) Variable Function
183 68(param): 7(ptr) Variable Function
184 65: 6(float) Load 64(input)
186 69: 6(float) Load 62(input)
188 70: 8(fvec4) FunctionCall 11(@PixelShaderFunction(f1;) 68(param)
189 Store 67(@entryPointOutput) 70
192 11(@PixelShaderFunction(f1;): 8(fvec4) Function None 9
193 10(input): 7(ptr) FunctionParameter
197 LoopMerge 15 16 Unroll
202 BranchConditional 18 13 15
206 LoopMerge 21 22 Unroll
211 BranchConditional 18 19 21
218 27: 6(float) Load 10(input)
219 28: 8(fvec4) CompositeConstruct 27 27 27 27
222 30: 6(float) Load 10(input)
223 32: 17(bool) FOrdGreaterThan 30 31
224 BranchConditional 32 23 25
231 37: 6(float) Load 10(input)
232 39: 6(float) FAdd 37 38
236 40: 6(float) Load 10(input)
237 42: 17(bool) FOrdLessThan 40 41
238 BranchConditional 42 33 35
250 52: 6(float) Load 10(input)
251 53: 6(float) FAdd 52 38
253 54: 17(bool) FOrdLessThan 53 41
254 BranchConditional 54 48 49
262 55: 6(float) Load 10(input)
263 56: 6(float) FAdd 55 38
265 57: 17(bool) FOrdLessThan 56 41
266 BranchConditional 57 43 45
268 58: 6(float) Load 10(input)
269 59: 8(fvec4) CompositeConstruct 58 58 58 58