3 gl_FragCoord origin is upper left
5 0:8 Function Definition: @PixelShaderFunction(i1;vf4[3]; ( temp 4-component vector of float)
6 0:8 Function Parameters:
8 0:8 'input' ( in 3-element array of 4-component vector of float)
10 0:10 Branch: Return with expression
11 0:10 add ( temp 4-component vector of float)
12 0:10 add ( temp 4-component vector of float)
13 0:10 add ( temp 4-component vector of float)
14 0:10 add ( temp 4-component vector of float)
15 0:10 add ( temp 4-component vector of float)
16 0:10 add ( temp 4-component vector of float)
17 0:10 direct index ( temp 4-component vector of float)
18 0:10 a: direct index for structure ( uniform 4-element array of 4-component vector of float)
19 0:10 'anon@0' (layout( row_major std140) uniform block{ uniform 4-element array of 4-component vector of float a, uniform 11-element array of structure{ temp 7-element array of 4-component vector of float m} s})
24 0:10 indirect index ( temp 4-component vector of float)
25 0:10 a: direct index for structure ( uniform 4-element array of 4-component vector of float)
26 0:10 'anon@0' (layout( row_major std140) uniform block{ uniform 4-element array of 4-component vector of float a, uniform 11-element array of structure{ temp 7-element array of 4-component vector of float m} s})
30 0:10 direct index ( temp 4-component vector of float)
31 0:10 'input' ( in 3-element array of 4-component vector of float)
34 0:10 indirect index ( temp 4-component vector of float)
35 0:10 'input' ( in 3-element array of 4-component vector of float)
37 0:10 direct index ( temp 4-component vector of float)
38 0:10 'b' ( temp 10-element array of 4-component vector of float)
41 0:10 indirect index ( temp 4-component vector of float)
42 0:10 'b' ( temp 10-element array of 4-component vector of float)
44 0:10 indirect index ( temp 4-component vector of float)
45 0:10 m: direct index for structure ( temp 7-element array of 4-component vector of float)
46 0:10 indirect index ( temp structure{ temp 7-element array of 4-component vector of float m})
47 0:10 s: direct index for structure ( uniform 11-element array of structure{ temp 7-element array of 4-component vector of float m})
48 0:10 'anon@0' (layout( row_major std140) uniform block{ uniform 4-element array of 4-component vector of float a, uniform 11-element array of structure{ temp 7-element array of 4-component vector of float m} s})
55 0:8 Function Definition: PixelShaderFunction( ( temp void)
56 0:8 Function Parameters:
58 0:8 move second child to first child ( temp int)
60 0:? 'i' (layout( location=0) in int)
61 0:8 move second child to first child ( temp 3-element array of 4-component vector of float)
62 0:? 'input' ( temp 3-element array of 4-component vector of float)
63 0:? 'input' (layout( location=1) in 3-element array of 4-component vector of float)
64 0:8 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:8 Function Call: @PixelShaderFunction(i1;vf4[3]; ( temp 4-component vector of float)
68 0:? 'input' ( temp 3-element array of 4-component vector of float)
70 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-element array of 4-component vector of float a, uniform 11-element array of structure{ temp 7-element array of 4-component vector of float m} s})
71 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
72 0:? 'i' (layout( location=0) in int)
73 0:? 'input' (layout( location=1) in 3-element array of 4-component vector of float)
76 Linked fragment stage:
80 gl_FragCoord origin is upper left
82 0:8 Function Definition: @PixelShaderFunction(i1;vf4[3]; ( temp 4-component vector of float)
83 0:8 Function Parameters:
85 0:8 'input' ( in 3-element array of 4-component vector of float)
87 0:10 Branch: Return with expression
88 0:10 add ( temp 4-component vector of float)
89 0:10 add ( temp 4-component vector of float)
90 0:10 add ( temp 4-component vector of float)
91 0:10 add ( temp 4-component vector of float)
92 0:10 add ( temp 4-component vector of float)
93 0:10 add ( temp 4-component vector of float)
94 0:10 direct index ( temp 4-component vector of float)
95 0:10 a: direct index for structure ( uniform 4-element array of 4-component vector of float)
96 0:10 'anon@0' (layout( row_major std140) uniform block{ uniform 4-element array of 4-component vector of float a, uniform 11-element array of structure{ temp 7-element array of 4-component vector of float m} s})
101 0:10 indirect index ( temp 4-component vector of float)
102 0:10 a: direct index for structure ( uniform 4-element array of 4-component vector of float)
103 0:10 'anon@0' (layout( row_major std140) uniform block{ uniform 4-element array of 4-component vector of float a, uniform 11-element array of structure{ temp 7-element array of 4-component vector of float m} s})
107 0:10 direct index ( temp 4-component vector of float)
108 0:10 'input' ( in 3-element array of 4-component vector of float)
111 0:10 indirect index ( temp 4-component vector of float)
112 0:10 'input' ( in 3-element array of 4-component vector of float)
114 0:10 direct index ( temp 4-component vector of float)
115 0:10 'b' ( temp 10-element array of 4-component vector of float)
118 0:10 indirect index ( temp 4-component vector of float)
119 0:10 'b' ( temp 10-element array of 4-component vector of float)
121 0:10 indirect index ( temp 4-component vector of float)
122 0:10 m: direct index for structure ( temp 7-element array of 4-component vector of float)
123 0:10 indirect index ( temp structure{ temp 7-element array of 4-component vector of float m})
124 0:10 s: direct index for structure ( uniform 11-element array of structure{ temp 7-element array of 4-component vector of float m})
125 0:10 'anon@0' (layout( row_major std140) uniform block{ uniform 4-element array of 4-component vector of float a, uniform 11-element array of structure{ temp 7-element array of 4-component vector of float m} s})
132 0:8 Function Definition: PixelShaderFunction( ( temp void)
133 0:8 Function Parameters:
135 0:8 move second child to first child ( temp int)
137 0:? 'i' (layout( location=0) in int)
138 0:8 move second child to first child ( temp 3-element array of 4-component vector of float)
139 0:? 'input' ( temp 3-element array of 4-component vector of float)
140 0:? 'input' (layout( location=1) in 3-element array of 4-component vector of float)
141 0:8 move second child to first child ( temp 4-component vector of float)
142 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
143 0:8 Function Call: @PixelShaderFunction(i1;vf4[3]; ( temp 4-component vector of float)
145 0:? 'input' ( temp 3-element array of 4-component vector of float)
147 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-element array of 4-component vector of float a, uniform 11-element array of structure{ temp 7-element array of 4-component vector of float m} s})
148 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
149 0:? 'i' (layout( location=0) in int)
150 0:? 'input' (layout( location=1) in 3-element array of 4-component vector of float)
152 // Module Version 10000
153 // Generated by (magic number): 80001
154 // Id's are bound by 81
157 1: ExtInstImport "GLSL.std.450"
158 MemoryModel Logical GLSL450
159 EntryPoint Fragment 4 "PixelShaderFunction" 68 72 75
160 ExecutionMode 4 OriginUpperLeft
161 Name 4 "PixelShaderFunction"
162 Name 17 "@PixelShaderFunction(i1;vf4[3];"
168 MemberName 26($Global) 0 "a"
169 MemberName 26($Global) 1 "s"
176 Name 75 "@entryPointOutput"
179 Decorate 20 ArrayStride 16
180 Decorate 22 ArrayStride 16
181 MemberDecorate 23 0 Offset 0
182 Decorate 25 ArrayStride 112
183 MemberDecorate 26($Global) 0 Offset 0
184 MemberDecorate 26($Global) 1 Offset 64
185 Decorate 26($Global) Block
186 Decorate 28 DescriptorSet 0
187 Decorate 68(i) Location 0
188 Decorate 72(input) Location 1
189 Decorate 75(@entryPointOutput) Location 0
193 7: TypePointer Function 6(int)
195 9: TypeVector 8(float) 4
197 11: 10(int) Constant 3
198 12: TypeArray 9(fvec4) 11
199 13: TypePointer Function 12
200 14: TypeFunction 9(fvec4) 7(ptr) 13(ptr)
201 19: 10(int) Constant 4
202 20: TypeArray 9(fvec4) 19
203 21: 10(int) Constant 7
204 22: TypeArray 9(fvec4) 21
206 24: 10(int) Constant 11
207 25: TypeArray 23(struct) 24
208 26($Global): TypeStruct 20 25
209 27: TypePointer Uniform 26($Global)
210 28: 27(ptr) Variable Uniform
211 29: 6(int) Constant 0
212 30: 6(int) Constant 1
213 31: TypePointer Uniform 9(fvec4)
214 38: 6(int) Constant 2
215 39: TypePointer Function 9(fvec4)
216 47: 10(int) Constant 10
217 48: TypeArray 9(fvec4) 47
218 49: TypePointer Function 48
219 51: 6(int) Constant 5
220 67: TypePointer Input 6(int)
221 68(i): 67(ptr) Variable Input
222 71: TypePointer Input 12
223 72(input): 71(ptr) Variable Input
224 74: TypePointer Output 9(fvec4)
225 75(@entryPointOutput): 74(ptr) Variable Output
226 4(PixelShaderFunction): 2 Function None 3
228 66(i): 7(ptr) Variable Function
229 70(input): 13(ptr) Variable Function
230 76(param): 7(ptr) Variable Function
231 78(param): 13(ptr) Variable Function
232 69: 6(int) Load 68(i)
234 73: 12 Load 72(input)
236 77: 6(int) Load 66(i)
238 79: 12 Load 70(input)
240 80: 9(fvec4) FunctionCall 17(@PixelShaderFunction(i1;vf4[3];) 76(param) 78(param)
241 Store 75(@entryPointOutput) 80
244 17(@PixelShaderFunction(i1;vf4[3];): 9(fvec4) Function None 14
245 15(i): 7(ptr) FunctionParameter
246 16(input): 13(ptr) FunctionParameter
248 50(b): 49(ptr) Variable Function
249 32: 31(ptr) AccessChain 28 29 30
251 34: 6(int) Load 15(i)
252 35: 31(ptr) AccessChain 28 29 34
254 37: 9(fvec4) FAdd 33 36
255 40: 39(ptr) AccessChain 16(input) 38
257 42: 9(fvec4) FAdd 37 41
258 43: 6(int) Load 15(i)
259 44: 39(ptr) AccessChain 16(input) 43
261 46: 9(fvec4) FAdd 42 45
262 52: 39(ptr) AccessChain 50(b) 51
264 54: 9(fvec4) FAdd 46 53
265 55: 6(int) Load 15(i)
266 56: 39(ptr) AccessChain 50(b) 55
268 58: 9(fvec4) FAdd 54 57
269 59: 6(int) Load 15(i)
270 60: 6(int) Load 15(i)
271 61: 31(ptr) AccessChain 28 30 59 29 60
273 63: 9(fvec4) FAdd 58 62