3 gl_FragCoord origin is upper left
5 0:4 Function Definition: SomeValue( ( temp 3-component vector of float)
6 0:4 Function Parameters:
8 0:4 Branch: Return with expression
13 0:7 Function Definition: @main( ( temp 4-component vector of float)
14 0:7 Function Parameters:
17 0:8 move second child to first child ( temp 2-component vector of int)
18 0:8 'tc2' ( temp 2-component vector of int)
23 0:9 move second child to first child ( temp int)
28 0:12 move second child to first child ( temp 3-component vector of float)
29 0:12 vector swizzle ( temp 3-component vector of float)
30 0:12 'storeTemp' ( temp 3-component vector of float)
42 0:12 imageStore ( temp void)
43 0:12 'rwtx' (layout( rgba32f) uniform image2D)
44 0:12 'tc2' ( temp 2-component vector of int)
45 0:12 'storeTemp' ( temp 3-component vector of float)
46 0:12 'storeTemp' ( temp 3-component vector of float)
48 0:13 move second child to first child ( temp 3-component vector of float)
49 0:13 vector swizzle ( temp 3-component vector of float)
50 0:13 'storeTemp' ( temp 3-component vector of float)
58 0:13 Function Call: SomeValue( ( temp 3-component vector of float)
59 0:13 imageStore ( temp void)
60 0:13 'rwtx' (layout( rgba32f) uniform image2D)
61 0:13 'tc2' ( temp 2-component vector of int)
62 0:13 'storeTemp' ( temp 3-component vector of float)
63 0:13 'storeTemp' ( temp 3-component vector of float)
65 0:14 move second child to first child ( temp 3-component vector of float)
66 0:14 vector swizzle ( temp 3-component vector of float)
67 0:14 'storeTemp' ( temp 3-component vector of float)
79 0:14 imageStore ( temp void)
80 0:14 'rwtx' (layout( rgba32f) uniform image2D)
81 0:14 'tc2' ( temp 2-component vector of int)
82 0:14 'storeTemp' ( temp 3-component vector of float)
83 0:14 'storeTemp' ( temp 3-component vector of float)
84 0:27 Branch: Return with expression
90 0:7 Function Definition: main( ( temp void)
91 0:7 Function Parameters:
93 0:7 move second child to first child ( temp 4-component vector of float)
94 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
95 0:7 Function Call: @main( ( temp 4-component vector of float)
97 0:? 'rwtx' (layout( rgba32f) uniform image2D)
98 0:? 'buf' (layout( rgba32f) uniform imageBuffer)
99 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
102 Linked fragment stage:
106 gl_FragCoord origin is upper left
108 0:4 Function Definition: SomeValue( ( temp 3-component vector of float)
109 0:4 Function Parameters:
111 0:4 Branch: Return with expression
116 0:7 Function Definition: @main( ( temp 4-component vector of float)
117 0:7 Function Parameters:
120 0:8 move second child to first child ( temp 2-component vector of int)
121 0:8 'tc2' ( temp 2-component vector of int)
126 0:9 move second child to first child ( temp int)
131 0:12 move second child to first child ( temp 3-component vector of float)
132 0:12 vector swizzle ( temp 3-component vector of float)
133 0:12 'storeTemp' ( temp 3-component vector of float)
145 0:12 imageStore ( temp void)
146 0:12 'rwtx' (layout( rgba32f) uniform image2D)
147 0:12 'tc2' ( temp 2-component vector of int)
148 0:12 'storeTemp' ( temp 3-component vector of float)
149 0:12 'storeTemp' ( temp 3-component vector of float)
151 0:13 move second child to first child ( temp 3-component vector of float)
152 0:13 vector swizzle ( temp 3-component vector of float)
153 0:13 'storeTemp' ( temp 3-component vector of float)
161 0:13 Function Call: SomeValue( ( temp 3-component vector of float)
162 0:13 imageStore ( temp void)
163 0:13 'rwtx' (layout( rgba32f) uniform image2D)
164 0:13 'tc2' ( temp 2-component vector of int)
165 0:13 'storeTemp' ( temp 3-component vector of float)
166 0:13 'storeTemp' ( temp 3-component vector of float)
168 0:14 move second child to first child ( temp 3-component vector of float)
169 0:14 vector swizzle ( temp 3-component vector of float)
170 0:14 'storeTemp' ( temp 3-component vector of float)
182 0:14 imageStore ( temp void)
183 0:14 'rwtx' (layout( rgba32f) uniform image2D)
184 0:14 'tc2' ( temp 2-component vector of int)
185 0:14 'storeTemp' ( temp 3-component vector of float)
186 0:14 'storeTemp' ( temp 3-component vector of float)
187 0:27 Branch: Return with expression
193 0:7 Function Definition: main( ( temp void)
194 0:7 Function Parameters:
196 0:7 move second child to first child ( temp 4-component vector of float)
197 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
198 0:7 Function Call: @main( ( temp 4-component vector of float)
200 0:? 'rwtx' (layout( rgba32f) uniform image2D)
201 0:? 'buf' (layout( rgba32f) uniform imageBuffer)
202 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
204 // Module Version 10000
205 // Generated by (magic number): 8000b
206 // Id's are bound by 63
209 Capability ImageBuffer
210 1: ExtInstImport "GLSL.std.450"
211 MemoryModel Logical GLSL450
212 EntryPoint Fragment 4 "main" 58
213 ExecutionMode 4 OriginUpperLeft
224 Name 58 "@entryPointOutput"
226 Decorate 35(rwtx) DescriptorSet 0
227 Decorate 35(rwtx) Binding 0
228 Decorate 58(@entryPointOutput) Location 0
229 Decorate 62(buf) DescriptorSet 0
230 Decorate 62(buf) Binding 0
234 7: TypeVector 6(float) 3
235 8: TypeFunction 7(fvec3)
236 11: TypeVector 6(float) 4
237 12: TypeFunction 11(fvec4)
238 15: 6(float) Constant 1065353216
239 16: 6(float) Constant 1073741824
240 17: 6(float) Constant 1077936128
241 18: 7(fvec3) ConstantComposite 15 16 17
243 22: TypeVector 21(int) 2
244 23: TypePointer Function 22(ivec2)
245 25: 21(int) Constant 0
246 26: 22(ivec2) ConstantComposite 25 25
247 27: TypePointer Function 21(int)
248 29: TypePointer Function 7(fvec3)
249 33: TypeImage 6(float) 2D nonsampled format:Rgba32f
250 34: TypePointer UniformConstant 33
251 35(rwtx): 34(ptr) Variable UniformConstant
252 47: 7(fvec3) ConstantComposite 16 16 16
253 53: 6(float) Constant 0
254 54: 11(fvec4) ConstantComposite 53 53 53 53
255 57: TypePointer Output 11(fvec4)
256 58(@entryPointOutput): 57(ptr) Variable Output
257 60: TypeImage 6(float) Buffer nonsampled format:Rgba32f
258 61: TypePointer UniformConstant 60
259 62(buf): 61(ptr) Variable UniformConstant
260 4(main): 2 Function None 3
262 59: 11(fvec4) FunctionCall 13(@main()
263 Store 58(@entryPointOutput) 59
266 9(SomeValue(): 7(fvec3) Function None 8
270 13(@main(): 11(fvec4) Function None 12
272 24(tc2): 23(ptr) Variable Function
273 28(tc): 27(ptr) Variable Function
274 30(storeTemp): 29(ptr) Variable Function
275 39(storeTemp): 29(ptr) Variable Function
276 46(storeTemp): 29(ptr) Variable Function
279 31: 7(fvec3) Load 30(storeTemp)
280 32: 7(fvec3) VectorShuffle 31 18 5 4 3
281 Store 30(storeTemp) 32
283 37: 22(ivec2) Load 24(tc2)
284 38: 7(fvec3) Load 30(storeTemp)
286 40: 7(fvec3) FunctionCall 9(SomeValue()
287 41: 7(fvec3) Load 39(storeTemp)
288 42: 7(fvec3) VectorShuffle 41 40 5 4 3
289 Store 39(storeTemp) 42
291 44: 22(ivec2) Load 24(tc2)
292 45: 7(fvec3) Load 39(storeTemp)
294 48: 7(fvec3) Load 46(storeTemp)
295 49: 7(fvec3) VectorShuffle 48 47 5 4 3
296 Store 46(storeTemp) 49
298 51: 22(ivec2) Load 24(tc2)
299 52: 7(fvec3) Load 46(storeTemp)