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
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
|
150.geom
ERROR: 0:15: 'fromVertex' : block instance name redefinition
ERROR: 0:19: 'fromVertex' : redefinition
ERROR: 0:21: 'fooC' : block instance name redefinition
ERROR: 0:29: 'EmitStreamVertex' : no matching overloaded function found
ERROR: 0:30: 'EndStreamPrimitive' : no matching overloaded function found
ERROR: 0:44: 'stream' : can only be used on an output
ERROR: 0:45: 'stream' : can only be used on an output
ERROR: 0:46: 'stream' : can only be used on an output
ERROR: 0:47: 'stream' : can only be used on an output
ERROR: 0:47: 'stream' : can only be used on an output
ERROR: 0:60: 'stream' : member cannot contradict block
ERROR: 0:66: 'max_vertices' : too large, must be less than gl_MaxGeometryOutputVertices
ERROR: 0:66: 'max_vertices' : cannot change previously set layout value
ERROR: 0:67: 'max_vertices' : can only apply to a standalone qualifier
ERROR: 0:72: 'points' : cannot change previously set output primitive
ERROR: 0:73: 'points' : cannot change previously set output primitive
ERROR: 0:74: 'triangle_strip' : cannot apply to input
ERROR: 0:75: 'triangle_strip' : cannot apply to: uniform
ERROR: 0:76: 'triangle_strip' : can only apply to a standalone qualifier
ERROR: 0:77: 'triangle_strip' : can only apply to a standalone qualifier
ERROR: 0:78: 'invocations' : not supported for this version or the enabled extensions
ERROR: 0:78: 'invocations' : can only apply to a standalone qualifier
ERROR: 0:80: 'invocations' : not supported for this version or the enabled extensions
ERROR: 0:80: 'invocations' : can only apply to a standalone qualifier
ERROR: 0:81: 'max_vertices' : can only apply to a standalone qualifier
ERROR: 0:82: 'triangle_strip' : can only apply to a standalone qualifier
ERROR: 0:85: 'lines' : cannot apply to 'out'
ERROR: 0:87: 'triangles' : cannot change previously set input primitive
ERROR: 0:88: 'triangles_adjacency' : cannot change previously set input primitive
ERROR: 0:89: 'invocations' : not supported for this version or the enabled extensions
ERROR: 0:92: 'stream' : member cannot contradict block
ERROR: 0:92: 'stream' : can only be used on an output
ERROR: 0:129: 'gl_ViewportIndex' : required extension not requested: GL_ARB_viewport_array
ERROR: 0:129: 'gl_MaxViewports' : required extension not requested: GL_ARB_viewport_array
ERROR: 0:139: 'gl_ViewportIndex' : identifiers starting with "gl_" are reserved
ERROR: 35 compilation errors. No code generated.
Shader version: 150
Requested GL_ARB_viewport_array
invocations = 4
max_vertices = 200
input primitive = lines_adjacency
output primitive = triangle_strip
ERROR: node is still EOpNull!
0:25 Function Definition: main( ( global void)
0:25 Function Parameters:
0:27 Sequence
0:27 EmitVertex ( global void)
0:28 EndPrimitive ( global void)
0:29 Constant:
0:29 0.000000
0:30 Constant:
0:30 0.000000
0:32 move second child to first child ( temp 3-component vector of float)
0:32 color: direct index for structure (layout( stream=0) out 3-component vector of float)
0:32 'anon@0' (layout( stream=0) out block{layout( stream=0) out 3-component vector of float color})
0:32 Constant:
0:32 0 (const uint)
0:32 color: direct index for structure ( in 3-component vector of float)
0:32 direct index ( temp block{ in 3-component vector of float color})
0:32 'fromV' ( in 4-element array of block{ in 3-component vector of float color})
0:32 Constant:
0:32 0 (const int)
0:32 Constant:
0:32 0 (const int)
0:33 move second child to first child ( temp float)
0:33 direct index (layout( stream=0) temp float ClipDistance)
0:33 gl_ClipDistance: direct index for structure (layout( stream=0) out implicitly-sized array of float ClipDistance)
0:33 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out implicitly-sized array of float ClipDistance gl_ClipDistance})
0:33 Constant:
0:33 2 (const uint)
0:33 Constant:
0:33 3 (const int)
0:33 direct index ( temp float ClipDistance)
0:33 gl_ClipDistance: direct index for structure ( in implicitly-sized array of float ClipDistance)
0:33 direct index ( temp block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in implicitly-sized array of float ClipDistance gl_ClipDistance})
0:33 'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in implicitly-sized array of float ClipDistance gl_ClipDistance})
0:33 Constant:
0:33 1 (const int)
0:33 Constant:
0:33 2 (const int)
0:33 Constant:
0:33 2 (const int)
0:34 move second child to first child ( temp 4-component vector of float)
0:34 gl_Position: direct index for structure (layout( stream=0) gl_Position 4-component vector of float Position)
0:34 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out implicitly-sized array of float ClipDistance gl_ClipDistance})
0:34 Constant:
0:34 0 (const uint)
0:34 gl_Position: direct index for structure ( in 4-component vector of float Position)
0:34 direct index ( temp block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in implicitly-sized array of float ClipDistance gl_ClipDistance})
0:34 'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in implicitly-sized array of float ClipDistance gl_ClipDistance})
0:34 Constant:
0:34 0 (const int)
0:34 Constant:
0:34 0 (const int)
0:35 move second child to first child ( temp float)
0:35 gl_PointSize: direct index for structure (layout( stream=0) gl_PointSize float PointSize)
0:35 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out implicitly-sized array of float ClipDistance gl_ClipDistance})
0:35 Constant:
0:35 1 (const uint)
0:35 gl_PointSize: direct index for structure ( in float PointSize)
0:35 direct index ( temp block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in implicitly-sized array of float ClipDistance gl_ClipDistance})
0:35 'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in implicitly-sized array of float ClipDistance gl_ClipDistance})
0:35 Constant:
0:35 3 (const int)
0:35 Constant:
0:35 1 (const int)
0:36 move second child to first child ( temp int)
0:36 'gl_PrimitiveID' (layout( stream=0) out int PrimitiveID)
0:36 'gl_PrimitiveIDIn' ( in int PrimitiveID)
0:37 move second child to first child ( temp int)
0:37 'gl_Layer' (layout( stream=0) out int Layer)
0:37 Constant:
0:37 2 (const int)
0:67 Function Definition: foo(i1; ( global void)
0:67 Function Parameters:
0:67 'a' ( in int)
0:69 Sequence
0:69 move second child to first child ( temp 4-component vector of float)
0:69 a: direct index for structure (layout( stream=6) out 4-component vector of float)
0:69 'ouuaa6' (layout( stream=6) out block{layout( stream=6) out 4-component vector of float a})
0:69 Constant:
0:69 0 (const int)
0:69 Constant:
0:69 1.000000
0:69 1.000000
0:69 1.000000
0:69 1.000000
0:107 Sequence
0:107 move second child to first child ( temp float)
0:107 'summ' ( global float)
0:107 Constant:
0:107 11332.000000
0:127 Function Definition: fooe1( ( global void)
0:127 Function Parameters:
0:129 Sequence
0:129 move second child to first child ( temp int)
0:129 'gl_ViewportIndex' (layout( stream=0) out int ViewportIndex)
0:129 Constant:
0:129 15 (const int)
0:134 Function Definition: fooe2( ( global void)
0:134 Function Parameters:
0:136 Sequence
0:136 move second child to first child ( temp int)
0:136 'gl_ViewportIndex' (layout( stream=0) out int ViewportIndex)
0:136 Constant:
0:136 15 (const int)
0:? Linker Objects
0:? 'fromV' ( in 4-element array of block{ in 3-component vector of float color})
0:? 'toF' (layout( stream=0) out block{layout( stream=0) out 3-component vector of float color})
0:? 'anon@0' (layout( stream=0) out block{layout( stream=0) out 3-component vector of float color})
0:? 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out implicitly-sized array of float ClipDistance gl_ClipDistance})
0:? 'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in implicitly-sized array of float ClipDistance gl_ClipDistance})
0:? 'ov0' (layout( stream=0) out 4-component vector of float)
0:? 'ov4' (layout( stream=4) out 4-component vector of float)
0:? 'o1v0' (layout( stream=0) out 4-component vector of float)
0:? 'ua' (layout( stream=3) uniform int)
0:? 'ibb' (layout( stream=3 column_major shared) uniform block{layout( stream=3 column_major shared) uniform int ua})
0:? 'ov3' (layout( stream=3) out 4-component vector of float)
0:? 'ouuaa6' (layout( stream=6) out block{layout( stream=6) out 4-component vector of float a})
0:? 'ouua6' (layout( stream=6) out block{layout( stream=6) out 4-component vector of float a})
0:? 'ouua7' (layout( stream=7) out block{layout( stream=6) out 4-component vector of float a})
0:? 'ov2s3' (layout( stream=3) out 4-component vector of float)
0:? 'badv4' (layout( stream=3) out 4-component vector of float)
0:? 'bad2v4' ( in 4-element array of 4-component vector of float)
0:? 'anon@2' (layout( stream=3) out block{layout( stream=3) out int a})
0:? 'outbi' (layout( stream=3) out block{layout( stream=3) out int a, layout( stream=3) out int b, layout( stream=3) out int c})
0:? 'inbi' ( in 4-element array of block{layout( stream=2) in int a})
0:? 'insn' ( in 4-element array of block{ in int a15})
0:? 'anon@3' (layout( stream=3) out block{layout( stream=3) out float f15})
0:? 'anon@4' (layout( column_major shared) uniform block{layout( column_major shared) uniform bool b15})
0:? 'summ' ( global float)
0:? 'gl_ViewportIndex' (layout( stream=3) out int)
Linked geometry stage:
Shader version: 150
Requested GL_ARB_viewport_array
invocations = 4
max_vertices = 200
input primitive = lines_adjacency
output primitive = triangle_strip
ERROR: node is still EOpNull!
0:25 Function Definition: main( ( global void)
0:25 Function Parameters:
0:27 Sequence
0:27 EmitVertex ( global void)
0:28 EndPrimitive ( global void)
0:29 Constant:
0:29 0.000000
0:30 Constant:
0:30 0.000000
0:32 move second child to first child ( temp 3-component vector of float)
0:32 color: direct index for structure (layout( stream=0) out 3-component vector of float)
0:32 'anon@0' (layout( stream=0) out block{layout( stream=0) out 3-component vector of float color})
0:32 Constant:
0:32 0 (const uint)
0:32 color: direct index for structure ( in 3-component vector of float)
0:32 direct index ( temp block{ in 3-component vector of float color})
0:32 'fromV' ( in 4-element array of block{ in 3-component vector of float color})
0:32 Constant:
0:32 0 (const int)
0:32 Constant:
0:32 0 (const int)
0:33 move second child to first child ( temp float)
0:33 direct index (layout( stream=0) temp float ClipDistance)
0:33 gl_ClipDistance: direct index for structure (layout( stream=0) out 4-element array of float ClipDistance)
0:33 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out 4-element array of float ClipDistance gl_ClipDistance})
0:33 Constant:
0:33 2 (const uint)
0:33 Constant:
0:33 3 (const int)
0:33 direct index ( temp float ClipDistance)
0:33 gl_ClipDistance: direct index for structure ( in 3-element array of float ClipDistance)
0:33 direct index ( temp block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in 3-element array of float ClipDistance gl_ClipDistance})
0:33 'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in 3-element array of float ClipDistance gl_ClipDistance})
0:33 Constant:
0:33 1 (const int)
0:33 Constant:
0:33 2 (const int)
0:33 Constant:
0:33 2 (const int)
0:34 move second child to first child ( temp 4-component vector of float)
0:34 gl_Position: direct index for structure (layout( stream=0) gl_Position 4-component vector of float Position)
0:34 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out 4-element array of float ClipDistance gl_ClipDistance})
0:34 Constant:
0:34 0 (const uint)
0:34 gl_Position: direct index for structure ( in 4-component vector of float Position)
0:34 direct index ( temp block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in 3-element array of float ClipDistance gl_ClipDistance})
0:34 'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in 3-element array of float ClipDistance gl_ClipDistance})
0:34 Constant:
0:34 0 (const int)
0:34 Constant:
0:34 0 (const int)
0:35 move second child to first child ( temp float)
0:35 gl_PointSize: direct index for structure (layout( stream=0) gl_PointSize float PointSize)
0:35 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out 4-element array of float ClipDistance gl_ClipDistance})
0:35 Constant:
0:35 1 (const uint)
0:35 gl_PointSize: direct index for structure ( in float PointSize)
0:35 direct index ( temp block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in 3-element array of float ClipDistance gl_ClipDistance})
0:35 'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in 3-element array of float ClipDistance gl_ClipDistance})
0:35 Constant:
0:35 3 (const int)
0:35 Constant:
0:35 1 (const int)
0:36 move second child to first child ( temp int)
0:36 'gl_PrimitiveID' (layout( stream=0) out int PrimitiveID)
0:36 'gl_PrimitiveIDIn' ( in int PrimitiveID)
0:37 move second child to first child ( temp int)
0:37 'gl_Layer' (layout( stream=0) out int Layer)
0:37 Constant:
0:37 2 (const int)
0:107 Sequence
0:107 move second child to first child ( temp float)
0:107 'summ' ( global float)
0:107 Constant:
0:107 11332.000000
0:? Linker Objects
0:? 'fromV' ( in 4-element array of block{ in 3-component vector of float color})
0:? 'toF' (layout( stream=0) out block{layout( stream=0) out 3-component vector of float color})
0:? 'anon@0' (layout( stream=0) out block{layout( stream=0) out 3-component vector of float color})
0:? 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize float PointSize gl_PointSize, layout( stream=0) out 4-element array of float ClipDistance gl_ClipDistance})
0:? 'gl_in' ( in 4-element array of block{ in 4-component vector of float Position gl_Position, in float PointSize gl_PointSize, in 3-element array of float ClipDistance gl_ClipDistance})
0:? 'ov0' (layout( stream=0) out 4-component vector of float)
0:? 'ov4' (layout( stream=4) out 4-component vector of float)
0:? 'o1v0' (layout( stream=0) out 4-component vector of float)
0:? 'ua' (layout( stream=3) uniform int)
0:? 'ibb' (layout( stream=3 column_major shared) uniform block{layout( stream=3 column_major shared) uniform int ua})
0:? 'ov3' (layout( stream=3) out 4-component vector of float)
0:? 'ouuaa6' (layout( stream=6) out block{layout( stream=6) out 4-component vector of float a})
0:? 'ouua6' (layout( stream=6) out block{layout( stream=6) out 4-component vector of float a})
0:? 'ouua7' (layout( stream=7) out block{layout( stream=6) out 4-component vector of float a})
0:? 'ov2s3' (layout( stream=3) out 4-component vector of float)
0:? 'badv4' (layout( stream=3) out 4-component vector of float)
0:? 'bad2v4' ( in 4-element array of 4-component vector of float)
0:? 'anon@2' (layout( stream=3) out block{layout( stream=3) out int a})
0:? 'outbi' (layout( stream=3) out block{layout( stream=3) out int a, layout( stream=3) out int b, layout( stream=3) out int c})
0:? 'inbi' ( in 4-element array of block{layout( stream=2) in int a})
0:? 'insn' ( in 4-element array of block{ in int a15})
0:? 'anon@3' (layout( stream=3) out block{layout( stream=3) out float f15})
0:? 'anon@4' (layout( column_major shared) uniform block{layout( column_major shared) uniform bool b15})
0:? 'summ' ( global float)
0:? 'gl_ViewportIndex' (layout( stream=3) out int)
|