3 gl_FragCoord origin is upper left
5 0:2 Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
6 0:2 Function Parameters:
7 0:2 'input' ( in 4-component vector of float)
9 0:3 Test condition and select ( temp void)
12 0:3 Equal ( temp 4-component vector of bool)
13 0:3 'input' ( in 4-component vector of float)
14 0:3 'input' ( in 4-component vector of float)
16 0:4 Branch: Return with expression
17 0:4 'input' ( in 4-component vector of float)
18 0:6 Test condition and select ( temp void)
21 0:6 Equal ( temp 4-component vector of bool)
22 0:6 'input' ( in 4-component vector of float)
23 0:6 'input' ( in 4-component vector of float)
25 0:7 Branch: Return with expression
26 0:7 'input' ( in 4-component vector of float)
28 0:9 Branch: Return with expression
29 0:9 Negate value ( temp 4-component vector of float)
30 0:9 'input' ( in 4-component vector of float)
31 0:11 Test condition and select ( temp void)
34 0:11 Equal ( temp 4-component vector of bool)
35 0:11 'input' ( in 4-component vector of float)
36 0:11 'input' ( in 4-component vector of float)
37 0:11 true case is null
38 0:14 Test condition and select ( temp void)
41 0:14 Equal ( temp 4-component vector of bool)
42 0:14 'input' ( in 4-component vector of float)
43 0:14 'input' ( in 4-component vector of float)
44 0:14 true case is null
45 0:19 Test condition and select ( temp void)
48 0:19 Equal ( temp 4-component vector of bool)
49 0:19 'input' ( in 4-component vector of float)
50 0:19 'input' ( in 4-component vector of float)
53 0:20 Branch: Return with expression
54 0:20 'input' ( in 4-component vector of float)
55 0:23 Test condition and select ( temp void)
58 0:23 Equal ( temp 4-component vector of bool)
59 0:23 'input' ( in 4-component vector of float)
60 0:23 'input' ( in 4-component vector of float)
63 0:24 Branch: Return with expression
64 0:24 'input' ( in 4-component vector of float)
67 0:26 Branch: Return with expression
68 0:26 Negate value ( temp 4-component vector of float)
69 0:26 'input' ( in 4-component vector of float)
70 0:30 Test condition and select ( temp void)
72 0:30 Convert float to bool ( temp bool)
73 0:30 move second child to first child ( temp float)
74 0:30 'ii' ( temp float)
75 0:30 direct index ( temp float)
76 0:30 'input' ( in 4-component vector of float)
80 0:31 Pre-Increment ( temp float)
81 0:31 'ii' ( temp float)
82 0:32 Pre-Increment ( temp int)
84 0:33 Test condition and select ( temp void)
86 0:33 Compare Equal ( temp bool)
87 0:33 Convert int to float ( temp float)
92 0:34 Pre-Increment ( temp int)
94 0:2 Function Definition: PixelShaderFunction( ( temp void)
95 0:2 Function Parameters:
97 0:2 move second child to first child ( temp 4-component vector of float)
98 0:? 'input' ( temp 4-component vector of float)
99 0:? 'input' (layout( location=0) in 4-component vector of float)
100 0:2 move second child to first child ( temp 4-component vector of float)
101 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
102 0:2 Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
103 0:? 'input' ( temp 4-component vector of float)
105 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
106 0:? 'input' (layout( location=0) in 4-component vector of float)
109 Linked fragment stage:
113 gl_FragCoord origin is upper left
115 0:2 Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
116 0:2 Function Parameters:
117 0:2 'input' ( in 4-component vector of float)
119 0:3 Test condition and select ( temp void)
122 0:3 Equal ( temp 4-component vector of bool)
123 0:3 'input' ( in 4-component vector of float)
124 0:3 'input' ( in 4-component vector of float)
126 0:4 Branch: Return with expression
127 0:4 'input' ( in 4-component vector of float)
128 0:6 Test condition and select ( temp void)
131 0:6 Equal ( temp 4-component vector of bool)
132 0:6 'input' ( in 4-component vector of float)
133 0:6 'input' ( in 4-component vector of float)
135 0:7 Branch: Return with expression
136 0:7 'input' ( in 4-component vector of float)
138 0:9 Branch: Return with expression
139 0:9 Negate value ( temp 4-component vector of float)
140 0:9 'input' ( in 4-component vector of float)
141 0:11 Test condition and select ( temp void)
143 0:11 all ( temp bool)
144 0:11 Equal ( temp 4-component vector of bool)
145 0:11 'input' ( in 4-component vector of float)
146 0:11 'input' ( in 4-component vector of float)
147 0:11 true case is null
148 0:14 Test condition and select ( temp void)
150 0:14 all ( temp bool)
151 0:14 Equal ( temp 4-component vector of bool)
152 0:14 'input' ( in 4-component vector of float)
153 0:14 'input' ( in 4-component vector of float)
154 0:14 true case is null
155 0:19 Test condition and select ( temp void)
157 0:19 all ( temp bool)
158 0:19 Equal ( temp 4-component vector of bool)
159 0:19 'input' ( in 4-component vector of float)
160 0:19 'input' ( in 4-component vector of float)
163 0:20 Branch: Return with expression
164 0:20 'input' ( in 4-component vector of float)
165 0:23 Test condition and select ( temp void)
167 0:23 all ( temp bool)
168 0:23 Equal ( temp 4-component vector of bool)
169 0:23 'input' ( in 4-component vector of float)
170 0:23 'input' ( in 4-component vector of float)
173 0:24 Branch: Return with expression
174 0:24 'input' ( in 4-component vector of float)
177 0:26 Branch: Return with expression
178 0:26 Negate value ( temp 4-component vector of float)
179 0:26 'input' ( in 4-component vector of float)
180 0:30 Test condition and select ( temp void)
182 0:30 Convert float to bool ( temp bool)
183 0:30 move second child to first child ( temp float)
184 0:30 'ii' ( temp float)
185 0:30 direct index ( temp float)
186 0:30 'input' ( in 4-component vector of float)
190 0:31 Pre-Increment ( temp float)
191 0:31 'ii' ( temp float)
192 0:32 Pre-Increment ( temp int)
193 0:32 'ii' ( temp int)
194 0:33 Test condition and select ( temp void)
196 0:33 Compare Equal ( temp bool)
197 0:33 Convert int to float ( temp float)
198 0:33 'ii' ( temp int)
202 0:34 Pre-Increment ( temp int)
203 0:34 'ii' ( temp int)
204 0:2 Function Definition: PixelShaderFunction( ( temp void)
205 0:2 Function Parameters:
207 0:2 move second child to first child ( temp 4-component vector of float)
208 0:? 'input' ( temp 4-component vector of float)
209 0:? 'input' (layout( location=0) in 4-component vector of float)
210 0:2 move second child to first child ( temp 4-component vector of float)
211 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
212 0:2 Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
213 0:? 'input' ( temp 4-component vector of float)
215 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
216 0:? 'input' (layout( location=0) in 4-component vector of float)
218 // Module Version 10000
219 // Generated by (magic number): 80001
220 // Id's are bound by 103
223 1: ExtInstImport "GLSL.std.450"
224 MemoryModel Logical GLSL450
225 EntryPoint Fragment 4 "PixelShaderFunction" 96 99
226 ExecutionMode 4 OriginUpperLeft
227 Name 4 "PixelShaderFunction"
228 Name 11 "@PixelShaderFunction(vf4;"
234 Name 99 "@entryPointOutput"
236 Decorate 96(input) Location 0
237 Decorate 99(@entryPointOutput) Location 0
241 7: TypeVector 6(float) 4
242 8: TypePointer Function 7(fvec4)
243 9: TypeFunction 7(fvec4) 8(ptr)
245 16: TypeVector 15(bool) 4
246 67: TypePointer Function 6(float)
248 70: 69(int) Constant 2
249 73: 6(float) Constant 0
250 78: 6(float) Constant 1065353216
252 81: TypePointer Function 80(int)
253 84: 80(int) Constant 1
254 95: TypePointer Input 7(fvec4)
255 96(input): 95(ptr) Variable Input
256 98: TypePointer Output 7(fvec4)
257 99(@entryPointOutput): 98(ptr) Variable Output
258 4(PixelShaderFunction): 2 Function None 3
260 94(input): 8(ptr) Variable Function
261 100(param): 8(ptr) Variable Function
262 97: 7(fvec4) Load 96(input)
264 101: 7(fvec4) Load 94(input)
266 102: 7(fvec4) FunctionCall 11(@PixelShaderFunction(vf4;) 100(param)
267 Store 99(@entryPointOutput) 102
270 11(@PixelShaderFunction(vf4;): 7(fvec4) Function None 9
271 10(input): 8(ptr) FunctionParameter
273 68(ii): 67(ptr) Variable Function
274 82(ii): 81(ptr) Variable Function
275 13: 7(fvec4) Load 10(input)
276 14: 7(fvec4) Load 10(input)
277 17: 16(bvec4) FOrdEqual 13 14
279 SelectionMerge 20 None
280 BranchConditional 18 19 20
282 21: 7(fvec4) Load 10(input)
285 23: 7(fvec4) Load 10(input)
286 24: 7(fvec4) Load 10(input)
287 25: 16(bvec4) FOrdEqual 23 24
289 SelectionMerge 28 None
290 BranchConditional 26 27 31
292 29: 7(fvec4) Load 10(input)
295 32: 7(fvec4) Load 10(input)
296 33: 7(fvec4) FNegate 32
299 35: 7(fvec4) Load 10(input)
300 36: 7(fvec4) Load 10(input)
301 37: 16(bvec4) FOrdEqual 35 36
303 SelectionMerge 40 None
304 BranchConditional 38 39 40
308 41: 7(fvec4) Load 10(input)
309 42: 7(fvec4) Load 10(input)
310 43: 16(bvec4) FOrdEqual 41 42
312 SelectionMerge 46 None
313 BranchConditional 44 45 46
317 47: 7(fvec4) Load 10(input)
318 48: 7(fvec4) Load 10(input)
319 49: 16(bvec4) FOrdEqual 47 48
321 SelectionMerge 52 None
322 BranchConditional 50 51 52
324 53: 7(fvec4) Load 10(input)
327 55: 7(fvec4) Load 10(input)
328 56: 7(fvec4) Load 10(input)
329 57: 16(bvec4) FOrdEqual 55 56
331 SelectionMerge 60 None
332 BranchConditional 58 59 63
334 61: 7(fvec4) Load 10(input)
337 64: 7(fvec4) Load 10(input)
338 65: 7(fvec4) FNegate 64
341 71: 67(ptr) AccessChain 10(input) 70
344 74: 15(bool) FOrdNotEqual 72 73
345 SelectionMerge 76 None
346 BranchConditional 74 75 76
348 77: 6(float) Load 68(ii)
349 79: 6(float) FAdd 77 78
353 83: 80(int) Load 82(ii)
354 85: 80(int) IAdd 83 84
356 86: 80(int) Load 82(ii)
357 87: 6(float) ConvertSToF 86
358 88: 15(bool) FOrdEqual 87 78
359 SelectionMerge 90 None
360 BranchConditional 88 89 90
362 91: 80(int) Load 82(ii)
363 92: 80(int) IAdd 91 84