3 gl_FragCoord origin is upper left
5 0:3 Function Definition: TestMatNx1( ( temp void)
6 0:3 Function Parameters:
9 0:13 move second child to first child ( temp 1X1 matrix of float)
10 0:13 'r00' ( temp 1X1 matrix of float)
11 0:13 transpose ( temp 1X1 matrix of float)
12 0:13 'f1x1' ( temp 1X1 matrix of float)
14 0:14 move second child to first child ( temp 1X2 matrix of float)
15 0:14 'r01' ( temp 1X2 matrix of float)
16 0:14 transpose ( temp 1X2 matrix of float)
17 0:14 'f2x1' ( temp 2X1 matrix of float)
19 0:15 move second child to first child ( temp 1X3 matrix of float)
20 0:15 'r02' ( temp 1X3 matrix of float)
21 0:15 transpose ( temp 1X3 matrix of float)
22 0:15 'f3x1' ( temp 3X1 matrix of float)
24 0:16 move second child to first child ( temp 1X4 matrix of float)
25 0:16 'r03' ( temp 1X4 matrix of float)
26 0:16 transpose ( temp 1X4 matrix of float)
27 0:16 'f4x1' ( temp 4X1 matrix of float)
29 0:18 move second child to first child ( temp 1X1 matrix of float)
30 0:18 'r10' ( temp 1X1 matrix of float)
31 0:18 transpose ( temp 1X1 matrix of float)
32 0:18 'f1x1' ( temp 1X1 matrix of float)
34 0:19 move second child to first child ( temp 2X1 matrix of float)
35 0:19 'r11' ( temp 2X1 matrix of float)
36 0:19 transpose ( temp 2X1 matrix of float)
37 0:19 'f1x2' ( temp 1X2 matrix of float)
39 0:20 move second child to first child ( temp 3X1 matrix of float)
40 0:20 'r12' ( temp 3X1 matrix of float)
41 0:20 transpose ( temp 3X1 matrix of float)
42 0:20 'f1x3' ( temp 1X3 matrix of float)
44 0:21 move second child to first child ( temp 4X1 matrix of float)
45 0:21 'r13' ( temp 4X1 matrix of float)
46 0:21 transpose ( temp 4X1 matrix of float)
47 0:21 'f1x4' ( temp 1X4 matrix of float)
48 0:27 Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
49 0:27 Function Parameters:
51 0:29 move second child to first child ( temp 4-component vector of float)
52 0:29 color: direct index for structure ( temp 4-component vector of float)
53 0:29 'ps_output' ( temp structure{ temp 4-component vector of float color})
61 0:30 Branch: Return with expression
62 0:30 'ps_output' ( temp structure{ temp 4-component vector of float color})
63 0:27 Function Definition: main( ( temp void)
64 0:27 Function Parameters:
67 0:27 move second child to first child ( temp 4-component vector of float)
68 0:? 'color' (layout( location=0) out 4-component vector of float)
69 0:27 color: direct index for structure ( temp 4-component vector of float)
70 0:27 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
74 0:? 'color' (layout( location=0) out 4-component vector of float)
77 Linked fragment stage:
81 gl_FragCoord origin is upper left
83 0:3 Function Definition: TestMatNx1( ( temp void)
84 0:3 Function Parameters:
87 0:13 move second child to first child ( temp 1X1 matrix of float)
88 0:13 'r00' ( temp 1X1 matrix of float)
89 0:13 transpose ( temp 1X1 matrix of float)
90 0:13 'f1x1' ( temp 1X1 matrix of float)
92 0:14 move second child to first child ( temp 1X2 matrix of float)
93 0:14 'r01' ( temp 1X2 matrix of float)
94 0:14 transpose ( temp 1X2 matrix of float)
95 0:14 'f2x1' ( temp 2X1 matrix of float)
97 0:15 move second child to first child ( temp 1X3 matrix of float)
98 0:15 'r02' ( temp 1X3 matrix of float)
99 0:15 transpose ( temp 1X3 matrix of float)
100 0:15 'f3x1' ( temp 3X1 matrix of float)
102 0:16 move second child to first child ( temp 1X4 matrix of float)
103 0:16 'r03' ( temp 1X4 matrix of float)
104 0:16 transpose ( temp 1X4 matrix of float)
105 0:16 'f4x1' ( temp 4X1 matrix of float)
107 0:18 move second child to first child ( temp 1X1 matrix of float)
108 0:18 'r10' ( temp 1X1 matrix of float)
109 0:18 transpose ( temp 1X1 matrix of float)
110 0:18 'f1x1' ( temp 1X1 matrix of float)
112 0:19 move second child to first child ( temp 2X1 matrix of float)
113 0:19 'r11' ( temp 2X1 matrix of float)
114 0:19 transpose ( temp 2X1 matrix of float)
115 0:19 'f1x2' ( temp 1X2 matrix of float)
117 0:20 move second child to first child ( temp 3X1 matrix of float)
118 0:20 'r12' ( temp 3X1 matrix of float)
119 0:20 transpose ( temp 3X1 matrix of float)
120 0:20 'f1x3' ( temp 1X3 matrix of float)
122 0:21 move second child to first child ( temp 4X1 matrix of float)
123 0:21 'r13' ( temp 4X1 matrix of float)
124 0:21 transpose ( temp 4X1 matrix of float)
125 0:21 'f1x4' ( temp 1X4 matrix of float)
126 0:27 Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
127 0:27 Function Parameters:
129 0:29 move second child to first child ( temp 4-component vector of float)
130 0:29 color: direct index for structure ( temp 4-component vector of float)
131 0:29 'ps_output' ( temp structure{ temp 4-component vector of float color})
139 0:30 Branch: Return with expression
140 0:30 'ps_output' ( temp structure{ temp 4-component vector of float color})
141 0:27 Function Definition: main( ( temp void)
142 0:27 Function Parameters:
145 0:27 move second child to first child ( temp 4-component vector of float)
146 0:? 'color' (layout( location=0) out 4-component vector of float)
147 0:27 color: direct index for structure ( temp 4-component vector of float)
148 0:27 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
152 0:? 'color' (layout( location=0) out 4-component vector of float)
154 // Module Version 10000
155 // Generated by (magic number): 80001
156 // Id's are bound by 77
159 1: ExtInstImport "GLSL.std.450"
160 MemoryModel Logical GLSL450
161 EntryPoint Fragment 4 "main" 74
162 ExecutionMode 4 OriginUpperLeft
166 MemberName 10(PS_OUTPUT) 0 "color"
185 Decorate 74(color) Location 0
189 9: TypeVector 8(float) 4
190 10(PS_OUTPUT): TypeStruct 9(fvec4)
191 11: TypeFunction 10(PS_OUTPUT)
192 14: TypeVector 8(float) 1
193 15: TypeMatrix 14(fvec) 1
194 16: TypePointer Function 15
195 21: TypeVector 8(float) 2
196 22: TypeMatrix 21(fvec2) 1
197 23: TypePointer Function 22
198 25: TypeMatrix 14(fvec) 2
199 26: TypePointer Function 25
200 30: TypeVector 8(float) 3
201 31: TypeMatrix 30(fvec3) 1
202 32: TypePointer Function 31
203 34: TypeMatrix 14(fvec) 3
204 35: TypePointer Function 34
205 39: TypeMatrix 9(fvec4) 1
206 40: TypePointer Function 39
207 42: TypeMatrix 14(fvec) 4
208 43: TypePointer Function 42
209 62: TypePointer Function 10(PS_OUTPUT)
211 65: 64(int) Constant 0
212 66: 8(float) Constant 1065353216
213 67: 9(fvec4) ConstantComposite 66 66 66 66
214 68: TypePointer Function 9(fvec4)
215 73: TypePointer Output 9(fvec4)
216 74(color): 73(ptr) Variable Output
217 4(main): 2 Function None 3
219 75:10(PS_OUTPUT) FunctionCall 12(@main()
220 76: 9(fvec4) CompositeExtract 75 0
224 6(TestMatNx1(): 2 Function None 3
226 17(r00): 16(ptr) Variable Function
227 18(f1x1): 16(ptr) Variable Function
228 24(r01): 23(ptr) Variable Function
229 27(f2x1): 26(ptr) Variable Function
230 33(r02): 32(ptr) Variable Function
231 36(f3x1): 35(ptr) Variable Function
232 41(r03): 40(ptr) Variable Function
233 44(f4x1): 43(ptr) Variable Function
234 47(r10): 16(ptr) Variable Function
235 50(r11): 26(ptr) Variable Function
236 51(f1x2): 23(ptr) Variable Function
237 54(r12): 35(ptr) Variable Function
238 55(f1x3): 32(ptr) Variable Function
239 58(r13): 43(ptr) Variable Function
240 59(f1x4): 40(ptr) Variable Function
267 12(@main():10(PS_OUTPUT) Function None 11
269 63(ps_output): 62(ptr) Variable Function
270 69: 68(ptr) AccessChain 63(ps_output) 65
272 70:10(PS_OUTPUT) Load 63(ps_output)