1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
|
320.geom
ERROR: 0:19: 'fromVertex' : block instance name redefinition
ERROR: 0:23: 'fromVertex' : redefinition
ERROR: 0:25: 'fooC' : block instance name redefinition
ERROR: 0:33: 'EmitStreamVertex' : no matching overloaded function found
ERROR: 0:34: 'EndStreamPrimitive' : no matching overloaded function found
ERROR: 0:37: 'gl_ClipDistance' : undeclared identifier
ERROR: 0:37: 'gl_ClipDistance' : left of '[' is not of type array, matrix, or vector
ERROR: 0:38: 'gl_ClipDistance' : no such field in structure 'gl_in'
ERROR: 0:38: 'expression' : left of '[' is not of type array, matrix, or vector
ERROR: 0:37: 'assign' : l-value required (can't modify a const)
ERROR: 0:45: 'selecting output stream' : not supported with this profile: es
ERROR: 0:52: 'max_vertices' : too large, must be less than gl_MaxGeometryOutputVertices
ERROR: 0:52: 'max_vertices' : cannot change previously set layout value
ERROR: 0:53: 'max_vertices' : can only apply to a standalone qualifier
ERROR: 0:58: 'points' : cannot change previously set output primitive
ERROR: 0:59: 'points' : cannot change previously set output primitive
ERROR: 0:60: 'triangle_strip' : cannot apply to input
ERROR: 0:61: 'triangle_strip' : cannot apply to: uniform
ERROR: 0:62: 'triangle_strip' : can only apply to a standalone qualifier
ERROR: 0:63: 'triangle_strip' : can only apply to a standalone qualifier
ERROR: 0:64: 'invocations' : can only apply to a standalone qualifier
ERROR: 0:66: 'invocations' : can only apply to a standalone qualifier
ERROR: 0:67: 'max_vertices' : can only apply to a standalone qualifier
ERROR: 0:68: 'triangle_strip' : can only apply to a standalone qualifier
ERROR: 0:71: 'lines' : cannot apply to 'out'
ERROR: 0:73: 'triangles' : cannot change previously set input primitive
ERROR: 0:74: 'triangles_adjacency' : cannot change previously set input primitive
ERROR: 0:106: 'gl_ViewportIndex' : undeclared identifier
ERROR: 0:107: 'gl_MaxViewports' : undeclared identifier
ERROR: 0:113: 'lines_adjacency' : inconsistent input primitive for array size of explArrayBad
ERROR: 0:114: 'in' : type must be an array: nonArrayed
ERROR: 0:122: 'component' : not supported with this profile: es
ERROR: 0:126: 'gl_MaxGeometryVaryingComponents' : undeclared identifier
ERROR: 0:127: 'gl_VerticesIn' : undeclared identifier
ERROR: 0:132: 'gl_PointSize' : required extension not requested: Possible extensions include:
GL_EXT_geometry_point_size
GL_OES_geometry_point_size
ERROR: 0:133: 'gl_PointSize' : required extension not requested: Possible extensions include:
GL_EXT_geometry_point_size
GL_OES_geometry_point_size
ERROR: 36 compilation errors. No code generated.
Shader version: 320
invocations = 4
max_vertices = 200
input primitive = lines_adjacency
output primitive = triangle_strip
ERROR: node is still EOpNull!
0:29 Function Definition: main( ( global void)
0:29 Function Parameters:
0:31 Sequence
0:31 EmitVertex ( global void)
0:32 EndPrimitive ( global void)
0:33 Constant:
0:33 0.000000
0:34 Constant:
0:34 0.000000
0:36 move second child to first child ( temp mediump 3-component vector of float)
0:36 color: direct index for structure (layout( stream=0) out mediump 3-component vector of float)
0:36 'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:36 Constant:
0:36 0 (const uint)
0:36 color: direct index for structure ( in mediump 3-component vector of float)
0:36 direct index ( temp block{ in mediump 3-component vector of float color})
0:36 'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
0:36 Constant:
0:36 0 (const int)
0:36 Constant:
0:36 0 (const int)
0:37 move second child to first child ( temp float)
0:37 Constant:
0:37 0.000000
0:38 Constant:
0:38 0.000000
0:39 move second child to first child ( temp highp 4-component vector of float)
0:39 gl_Position: direct index for structure (layout( stream=0) gl_Position highp 4-component vector of float Position)
0:39 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
0:39 Constant:
0:39 0 (const uint)
0:39 gl_Position: direct index for structure ( in highp 4-component vector of float Position)
0:39 direct index ( temp block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:39 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:39 Constant:
0:39 0 (const int)
0:39 Constant:
0:39 0 (const int)
0:41 move second child to first child ( temp highp int)
0:41 'gl_PrimitiveID' (layout( stream=0) out highp int PrimitiveID)
0:41 'gl_PrimitiveIDIn' ( in highp int PrimitiveID)
0:42 move second child to first child ( temp highp int)
0:42 'gl_Layer' (layout( stream=0) out highp int Layer)
0:42 Constant:
0:42 2 (const int)
0:53 Function Definition: foo(i1; ( global void)
0:53 Function Parameters:
0:53 'a' ( in highp int)
0:55 Sequence
0:55 move second child to first child ( temp mediump 4-component vector of float)
0:55 a: direct index for structure (layout( stream=0) out mediump 4-component vector of float)
0:55 'ouuaa6' (layout( stream=0) out block{layout( stream=0) out mediump 4-component vector of float a})
0:55 Constant:
0:55 0 (const int)
0:55 Constant:
0:55 1.000000
0:55 1.000000
0:55 1.000000
0:55 1.000000
0:104 Function Definition: fooe1( ( global void)
0:104 Function Parameters:
0:106 Sequence
0:106 'gl_ViewportIndex' ( temp float)
0:107 'gl_MaxViewports' ( temp float)
0:108 Constant:
0:108 4 (const int)
0:109 Sequence
0:109 move second child to first child ( temp highp int)
0:109 'inv' ( temp highp int)
0:109 'gl_InvocationID' ( in highp int InvocationID)
0:124 Function Definition: notHere( ( global void)
0:124 Function Parameters:
0:126 Sequence
0:126 'gl_MaxGeometryVaryingComponents' ( temp float)
0:127 'gl_VerticesIn' ( temp float)
0:130 Function Definition: pointSize2( ( global void)
0:130 Function Parameters:
0:132 Sequence
0:132 Sequence
0:132 move second child to first child ( temp highp float)
0:132 'ps' ( temp highp float)
0:132 gl_PointSize: direct index for structure ( in highp float PointSize)
0:132 direct index ( temp block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:132 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:132 Constant:
0:132 3 (const int)
0:132 Constant:
0:132 1 (const int)
0:133 move second child to first child ( temp highp float)
0:133 gl_PointSize: direct index for structure (layout( stream=0) gl_PointSize highp float PointSize)
0:133 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
0:133 Constant:
0:133 1 (const uint)
0:133 'ps' ( temp highp float)
0:? Linker Objects
0:? 'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
0:? 'nonBlockUnsized' ( in 4-element array of mediump 4-component vector of float)
0:? 'toF' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:? 'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:? 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:? 'ov4' (layout( stream=4) out mediump 4-component vector of float)
0:? 'ouuaa6' (layout( stream=0) out block{layout( stream=0) out mediump 4-component vector of float a})
0:? 'badv4' (layout( stream=0) out mediump 4-component vector of float)
0:? 'bad2v4' ( in 4-element array of mediump 4-component vector of float)
0:? 'anon@1' (layout( stream=0) out block{layout( stream=0) out highp int a})
0:? 'outbi' (layout( stream=0) out block{layout( stream=0) out highp int a, layout( stream=0) out highp int b, layout( stream=0) out highp int c})
0:? 'insn' ( in 4-element array of block{ in highp int a15})
0:? 'anon@2' (layout( stream=0) out block{layout( stream=0) out mediump float f15})
0:? 'anon@3' (layout( column_major shared) uniform block{layout( column_major shared) uniform bool b15})
0:? 'summ' ( const highp int)
0:? 2752 (const int)
0:? 'explArray' ( in 4-element array of mediump 4-component vector of float)
0:? 'explArrayBad' ( in 5-element array of mediump 4-component vector of float)
0:? 'nonArrayed' ( in mediump 4-component vector of float)
0:? 'myColor1' (layout( stream=0) flat out mediump 3-component vector of float)
0:? 'myColor2' (layout( stream=0) centroid out mediump 3-component vector of float)
0:? 'centr' ( centroid in 4-element array of mediump 3-component vector of float)
0:? 'perSampleColor' (layout( stream=0) sample out mediump 4-component vector of float)
0:? 'comp' (layout( location=7 component=2) in 4-element array of mediump float)
Linked geometry stage:
Shader version: 320
invocations = 4
max_vertices = 200
input primitive = lines_adjacency
output primitive = triangle_strip
ERROR: node is still EOpNull!
0:29 Function Definition: main( ( global void)
0:29 Function Parameters:
0:31 Sequence
0:31 EmitVertex ( global void)
0:32 EndPrimitive ( global void)
0:33 Constant:
0:33 0.000000
0:34 Constant:
0:34 0.000000
0:36 move second child to first child ( temp mediump 3-component vector of float)
0:36 color: direct index for structure (layout( stream=0) out mediump 3-component vector of float)
0:36 'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:36 Constant:
0:36 0 (const uint)
0:36 color: direct index for structure ( in mediump 3-component vector of float)
0:36 direct index ( temp block{ in mediump 3-component vector of float color})
0:36 'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
0:36 Constant:
0:36 0 (const int)
0:36 Constant:
0:36 0 (const int)
0:37 move second child to first child ( temp float)
0:37 Constant:
0:37 0.000000
0:38 Constant:
0:38 0.000000
0:39 move second child to first child ( temp highp 4-component vector of float)
0:39 gl_Position: direct index for structure (layout( stream=0) gl_Position highp 4-component vector of float Position)
0:39 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
0:39 Constant:
0:39 0 (const uint)
0:39 gl_Position: direct index for structure ( in highp 4-component vector of float Position)
0:39 direct index ( temp block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:39 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:39 Constant:
0:39 0 (const int)
0:39 Constant:
0:39 0 (const int)
0:41 move second child to first child ( temp highp int)
0:41 'gl_PrimitiveID' (layout( stream=0) out highp int PrimitiveID)
0:41 'gl_PrimitiveIDIn' ( in highp int PrimitiveID)
0:42 move second child to first child ( temp highp int)
0:42 'gl_Layer' (layout( stream=0) out highp int Layer)
0:42 Constant:
0:42 2 (const int)
0:? Linker Objects
0:? 'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
0:? 'nonBlockUnsized' ( in 4-element array of mediump 4-component vector of float)
0:? 'toF' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:? 'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:? 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:? 'ov4' (layout( stream=4) out mediump 4-component vector of float)
0:? 'ouuaa6' (layout( stream=0) out block{layout( stream=0) out mediump 4-component vector of float a})
0:? 'badv4' (layout( stream=0) out mediump 4-component vector of float)
0:? 'bad2v4' ( in 4-element array of mediump 4-component vector of float)
0:? 'anon@1' (layout( stream=0) out block{layout( stream=0) out highp int a})
0:? 'outbi' (layout( stream=0) out block{layout( stream=0) out highp int a, layout( stream=0) out highp int b, layout( stream=0) out highp int c})
0:? 'insn' ( in 4-element array of block{ in highp int a15})
0:? 'anon@2' (layout( stream=0) out block{layout( stream=0) out mediump float f15})
0:? 'anon@3' (layout( column_major shared) uniform block{layout( column_major shared) uniform bool b15})
0:? 'summ' ( const highp int)
0:? 2752 (const int)
0:? 'explArray' ( in 4-element array of mediump 4-component vector of float)
0:? 'explArrayBad' ( in 5-element array of mediump 4-component vector of float)
0:? 'nonArrayed' ( in mediump 4-component vector of float)
0:? 'myColor1' (layout( stream=0) flat out mediump 3-component vector of float)
0:? 'myColor2' (layout( stream=0) centroid out mediump 3-component vector of float)
0:? 'centr' ( centroid in 4-element array of mediump 3-component vector of float)
0:? 'perSampleColor' (layout( stream=0) sample out mediump 4-component vector of float)
0:? 'comp' (layout( location=7 component=2) in 4-element array of mediump float)
|