3 gl_FragCoord origin is upper left
5 0:4 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
6 0:4 Function Parameters:
9 0:124 move second child to first child ( temp int)
10 0:124 'thisLineIs' ( temp int)
13 0:126 move second child to first child ( temp 4-component vector of float)
14 0:126 Color: direct index for structure ( temp 4-component vector of float)
15 0:126 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
18 0:? Construct vec4 ( temp 4-component vector of float)
19 0:126 Convert int to float ( temp float)
20 0:126 'thisLineIs' ( temp int)
27 0:127 move second child to first child ( temp float)
28 0:127 Depth: direct index for structure ( temp float)
29 0:127 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
34 0:129 Branch: Return with expression
35 0:129 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
36 0:4 Function Definition: main( ( temp void)
37 0:4 Function Parameters:
40 0:4 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
41 0:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
42 0:4 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
43 0:4 move second child to first child ( temp 4-component vector of float)
44 0:? 'Color' (layout( location=0) out 4-component vector of float)
45 0:4 Color: direct index for structure ( temp 4-component vector of float)
46 0:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
49 0:4 move second child to first child ( temp float)
50 0:? 'Depth' ( out float FragDepth)
51 0:4 Depth: direct index for structure ( temp float)
52 0:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
56 0:? 'Color' (layout( location=0) out 4-component vector of float)
57 0:? 'Depth' ( out float FragDepth)
60 Linked fragment stage:
64 gl_FragCoord origin is upper left
66 0:4 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
67 0:4 Function Parameters:
70 0:124 move second child to first child ( temp int)
71 0:124 'thisLineIs' ( temp int)
74 0:126 move second child to first child ( temp 4-component vector of float)
75 0:126 Color: direct index for structure ( temp 4-component vector of float)
76 0:126 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
79 0:? Construct vec4 ( temp 4-component vector of float)
80 0:126 Convert int to float ( temp float)
81 0:126 'thisLineIs' ( temp int)
88 0:127 move second child to first child ( temp float)
89 0:127 Depth: direct index for structure ( temp float)
90 0:127 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
95 0:129 Branch: Return with expression
96 0:129 'psout' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
97 0:4 Function Definition: main( ( temp void)
98 0:4 Function Parameters:
101 0:4 move second child to first child ( temp structure{ temp 4-component vector of float Color, temp float Depth})
102 0:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
103 0:4 Function Call: @main( ( temp structure{ temp 4-component vector of float Color, temp float Depth})
104 0:4 move second child to first child ( temp 4-component vector of float)
105 0:? 'Color' (layout( location=0) out 4-component vector of float)
106 0:4 Color: direct index for structure ( temp 4-component vector of float)
107 0:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
110 0:4 move second child to first child ( temp float)
111 0:? 'Depth' ( out float FragDepth)
112 0:4 Depth: direct index for structure ( temp float)
113 0:4 'flattenTemp' ( temp structure{ temp 4-component vector of float Color, temp float Depth})
117 0:? 'Color' (layout( location=0) out 4-component vector of float)
118 0:? 'Depth' ( out float FragDepth)
120 // Module Version 10000
121 // Generated by (magic number): 80001
122 // Id's are bound by 42
125 1: ExtInstImport "GLSL.std.450"
126 MemoryModel Logical GLSL450
127 EntryPoint Fragment 4 "main" 35 39
128 ExecutionMode 4 OriginUpperLeft
131 MemberName 8(PS_OUTPUT) 0 "Color"
132 MemberName 8(PS_OUTPUT) 1 "Depth"
136 Name 32 "flattenTemp"
139 Decorate 35(Color) Location 0
140 Decorate 39(Depth) BuiltIn FragDepth
144 7: TypeVector 6(float) 4
145 8(PS_OUTPUT): TypeStruct 7(fvec4) 6(float)
146 9: TypeFunction 8(PS_OUTPUT)
148 13: TypePointer Function 12(int)
149 15: 12(int) Constant 124
150 16: TypePointer Function 8(PS_OUTPUT)
151 18: 12(int) Constant 0
152 21: 6(float) Constant 0
153 22: 6(float) Constant 1065353216
154 24: TypePointer Function 7(fvec4)
155 26: 12(int) Constant 1
156 27: TypePointer Function 6(float)
157 34: TypePointer Output 7(fvec4)
158 35(Color): 34(ptr) Variable Output
159 38: TypePointer Output 6(float)
160 39(Depth): 38(ptr) Variable Output
161 4(main): 2 Function None 3
163 32(flattenTemp): 16(ptr) Variable Function
164 33:8(PS_OUTPUT) FunctionCall 10(@main()
165 Store 32(flattenTemp) 33
166 36: 24(ptr) AccessChain 32(flattenTemp) 18
169 40: 27(ptr) AccessChain 32(flattenTemp) 26
174 10(@main():8(PS_OUTPUT) Function None 9
176 14(thisLineIs): 13(ptr) Variable Function
177 17(psout): 16(ptr) Variable Function
178 Store 14(thisLineIs) 15
179 19: 12(int) Load 14(thisLineIs)
180 20: 6(float) ConvertSToF 19
181 23: 7(fvec4) CompositeConstruct 20 21 21 22
182 25: 24(ptr) AccessChain 17(psout) 18
184 28: 27(ptr) AccessChain 17(psout) 26
186 29:8(PS_OUTPUT) Load 17(psout)