3 gl_FragCoord origin is upper left
5 0:9 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
6 0:9 Function Parameters:
8 0:40 add ( temp mediump 2-component vector of float)
9 0:40 'mf16_2' ( temp mediump 2-component vector of float)
10 0:40 'mf16' ( temp mediump float)
11 0:41 add ( temp mediump 2-component vector of float)
12 0:41 'mf10_2' ( temp mediump 2-component vector of float)
13 0:41 'mf10' ( temp mediump float)
14 0:42 add ( temp mediump 2-component vector of int)
15 0:42 'mi16_2' ( temp mediump 2-component vector of int)
16 0:42 'mi16' ( temp mediump int)
17 0:43 add ( temp mediump 2-component vector of int)
18 0:43 'mi12_2' ( temp mediump 2-component vector of int)
19 0:43 'mi12' ( temp mediump int)
20 0:44 add ( temp mediump 2-component vector of uint)
21 0:44 'mu16_2' ( temp mediump 2-component vector of uint)
22 0:44 'mu16' ( temp mediump uint)
23 0:47 move second child to first child ( temp 4-component vector of float)
24 0:47 Color: direct index for structure ( temp 4-component vector of float)
25 0:47 'psout' ( temp structure{ temp 4-component vector of float Color})
33 0:48 Branch: Return with expression
34 0:48 'psout' ( temp structure{ temp 4-component vector of float Color})
35 0:9 Function Definition: main( ( temp void)
36 0:9 Function Parameters:
39 0:9 move second child to first child ( temp 4-component vector of float)
40 0:? 'Color' (layout( location=0) out 4-component vector of float)
41 0:9 Color: direct index for structure ( temp 4-component vector of float)
42 0:9 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
46 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform mediump float b1a, uniform mediump float b1b})
47 0:? 'Color' (layout( location=0) out 4-component vector of float)
50 Linked fragment stage:
54 gl_FragCoord origin is upper left
56 0:9 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
57 0:9 Function Parameters:
59 0:40 add ( temp mediump 2-component vector of float)
60 0:40 'mf16_2' ( temp mediump 2-component vector of float)
61 0:40 'mf16' ( temp mediump float)
62 0:41 add ( temp mediump 2-component vector of float)
63 0:41 'mf10_2' ( temp mediump 2-component vector of float)
64 0:41 'mf10' ( temp mediump float)
65 0:42 add ( temp mediump 2-component vector of int)
66 0:42 'mi16_2' ( temp mediump 2-component vector of int)
67 0:42 'mi16' ( temp mediump int)
68 0:43 add ( temp mediump 2-component vector of int)
69 0:43 'mi12_2' ( temp mediump 2-component vector of int)
70 0:43 'mi12' ( temp mediump int)
71 0:44 add ( temp mediump 2-component vector of uint)
72 0:44 'mu16_2' ( temp mediump 2-component vector of uint)
73 0:44 'mu16' ( temp mediump uint)
74 0:47 move second child to first child ( temp 4-component vector of float)
75 0:47 Color: direct index for structure ( temp 4-component vector of float)
76 0:47 'psout' ( temp structure{ temp 4-component vector of float Color})
84 0:48 Branch: Return with expression
85 0:48 'psout' ( temp structure{ temp 4-component vector of float Color})
86 0:9 Function Definition: main( ( temp void)
87 0:9 Function Parameters:
90 0:9 move second child to first child ( temp 4-component vector of float)
91 0:? 'Color' (layout( location=0) out 4-component vector of float)
92 0:9 Color: direct index for structure ( temp 4-component vector of float)
93 0:9 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
97 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform mediump float b1a, uniform mediump float b1b})
98 0:? 'Color' (layout( location=0) out 4-component vector of float)
100 // Module Version 10000
101 // Generated by (magic number): 80001
102 // Id's are bound by 70
105 1: ExtInstImport "GLSL.std.450"
106 MemoryModel Logical GLSL450
107 EntryPoint Fragment 4 "main" 64
108 ExecutionMode 4 OriginUpperLeft
111 MemberName 8(PS_OUTPUT) 0 "Color"
126 MemberName 67($Global) 0 "b1a"
127 MemberName 67($Global) 1 "b1b"
129 Decorate 14(mf16_2) RelaxedPrecision
130 Decorate 15 RelaxedPrecision
131 Decorate 17(mf16) RelaxedPrecision
132 Decorate 18 RelaxedPrecision
133 Decorate 19 RelaxedPrecision
134 Decorate 20 RelaxedPrecision
135 Decorate 21(mf10_2) RelaxedPrecision
136 Decorate 22 RelaxedPrecision
137 Decorate 23(mf10) RelaxedPrecision
138 Decorate 24 RelaxedPrecision
139 Decorate 25 RelaxedPrecision
140 Decorate 26 RelaxedPrecision
141 Decorate 30(mi16_2) RelaxedPrecision
142 Decorate 31 RelaxedPrecision
143 Decorate 33(mi16) RelaxedPrecision
144 Decorate 34 RelaxedPrecision
145 Decorate 35 RelaxedPrecision
146 Decorate 36 RelaxedPrecision
147 Decorate 37(mi12_2) RelaxedPrecision
148 Decorate 38 RelaxedPrecision
149 Decorate 39(mi12) RelaxedPrecision
150 Decorate 40 RelaxedPrecision
151 Decorate 41 RelaxedPrecision
152 Decorate 42 RelaxedPrecision
153 Decorate 46(mu16_2) RelaxedPrecision
154 Decorate 47 RelaxedPrecision
155 Decorate 49(mu16) RelaxedPrecision
156 Decorate 50 RelaxedPrecision
157 Decorate 51 RelaxedPrecision
158 Decorate 52 RelaxedPrecision
159 Decorate 64(Color) Location 0
160 MemberDecorate 67($Global) 0 RelaxedPrecision
161 MemberDecorate 67($Global) 0 Offset 0
162 MemberDecorate 67($Global) 1 RelaxedPrecision
163 MemberDecorate 67($Global) 1 Offset 4
164 Decorate 67($Global) Block
165 Decorate 69 DescriptorSet 0
169 7: TypeVector 6(float) 4
170 8(PS_OUTPUT): TypeStruct 7(fvec4)
171 9: TypeFunction 8(PS_OUTPUT)
172 12: TypeVector 6(float) 2
173 13: TypePointer Function 12(fvec2)
174 16: TypePointer Function 6(float)
176 28: TypeVector 27(int) 2
177 29: TypePointer Function 28(ivec2)
178 32: TypePointer Function 27(int)
180 44: TypeVector 43(int) 2
181 45: TypePointer Function 44(ivec2)
182 48: TypePointer Function 43(int)
183 53: TypePointer Function 8(PS_OUTPUT)
184 55: 27(int) Constant 0
185 56: 6(float) Constant 0
186 57: 7(fvec4) ConstantComposite 56 56 56 56
187 58: TypePointer Function 7(fvec4)
188 63: TypePointer Output 7(fvec4)
189 64(Color): 63(ptr) Variable Output
190 67($Global): TypeStruct 6(float) 6(float)
191 68: TypePointer Uniform 67($Global)
192 69: 68(ptr) Variable Uniform
193 4(main): 2 Function None 3
195 65:8(PS_OUTPUT) FunctionCall 10(@main()
196 66: 7(fvec4) CompositeExtract 65 0
200 10(@main():8(PS_OUTPUT) Function None 9
202 14(mf16_2): 13(ptr) Variable Function
203 17(mf16): 16(ptr) Variable Function
204 21(mf10_2): 13(ptr) Variable Function
205 23(mf10): 16(ptr) Variable Function
206 30(mi16_2): 29(ptr) Variable Function
207 33(mi16): 32(ptr) Variable Function
208 37(mi12_2): 29(ptr) Variable Function
209 39(mi12): 32(ptr) Variable Function
210 46(mu16_2): 45(ptr) Variable Function
211 49(mu16): 48(ptr) Variable Function
212 54(psout): 53(ptr) Variable Function
213 15: 12(fvec2) Load 14(mf16_2)
214 18: 6(float) Load 17(mf16)
215 19: 12(fvec2) CompositeConstruct 18 18
216 20: 12(fvec2) FAdd 15 19
217 22: 12(fvec2) Load 21(mf10_2)
218 24: 6(float) Load 23(mf10)
219 25: 12(fvec2) CompositeConstruct 24 24
220 26: 12(fvec2) FAdd 22 25
221 31: 28(ivec2) Load 30(mi16_2)
222 34: 27(int) Load 33(mi16)
223 35: 28(ivec2) CompositeConstruct 34 34
224 36: 28(ivec2) IAdd 31 35
225 38: 28(ivec2) Load 37(mi12_2)
226 40: 27(int) Load 39(mi12)
227 41: 28(ivec2) CompositeConstruct 40 40
228 42: 28(ivec2) IAdd 38 41
229 47: 44(ivec2) Load 46(mu16_2)
230 50: 43(int) Load 49(mu16)
231 51: 44(ivec2) CompositeConstruct 50 50
232 52: 44(ivec2) IAdd 47 51
233 59: 58(ptr) AccessChain 54(psout) 55
235 60:8(PS_OUTPUT) Load 54(psout)