summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/310.geom.out
blob: 888c14233f742fd402ebbfefb427c9d9fa899e19 (plain)
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
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
310.geom
Warning, version 310 is not yet complete; most version-specific features are present, but some are missing.
ERROR: 0:29: 'fromVertex' : block instance name redefinition 
ERROR: 0:33: 'fromVertex' : redefinition 
ERROR: 0:35: 'fooC' : block instance name redefinition 
ERROR: 0:43: 'EmitStreamVertex' : no matching overloaded function found 
ERROR: 0:44: 'EndStreamPrimitive' : no matching overloaded function found 
ERROR: 0:47: 'gl_ClipDistance' : undeclared identifier 
ERROR: 0:47: 'gl_ClipDistance' :  left of '[' is not of type array, matrix, or vector  
ERROR: 0:48: 'gl_ClipDistance' : no such field in structure 
ERROR: 0:48: 'expression' :  left of '[' is not of type array, matrix, or vector  
ERROR: 0:47: 'assign' :  l-value required (can't modify a const)
ERROR: 0:55: 'selecting output stream' : not supported with this profile: es
ERROR: 0:62: 'max_vertices' : too large, must be less than gl_MaxGeometryOutputVertices 
ERROR: 0:62: 'max_vertices' : cannot change previously set layout value 
ERROR: 0:63: 'max_vertices' : can only apply to a standalone qualifier 
ERROR: 0:68: 'points' : cannot change previously set output primitive 
ERROR: 0:69: 'points' : cannot change previously set output primitive 
ERROR: 0:70: 'triangle_strip' : cannot apply to input 
ERROR: 0:71: 'triangle_strip' : cannot apply to: uniform
ERROR: 0:72: 'triangle_strip' : can only apply to a standalone qualifier 
ERROR: 0:73: 'triangle_strip' : can only apply to a standalone qualifier 
ERROR: 0:74: 'invocations' : can only apply to a standalone qualifier 
ERROR: 0:76: 'invocations' : can only apply to a standalone qualifier 
ERROR: 0:77: 'max_vertices' : can only apply to a standalone qualifier 
ERROR: 0:78: 'triangle_strip' : can only apply to a standalone qualifier 
ERROR: 0:81: 'lines' : cannot apply to 'out' 
ERROR: 0:83: 'triangles' : cannot change previously set input primitive 
ERROR: 0:84: 'triangles_adjacency' : cannot change previously set input primitive 
ERROR: 0:116: 'gl_ViewportIndex' : undeclared identifier 
ERROR: 0:117: 'gl_MaxViewports' : undeclared identifier 
ERROR: 0:123: 'lines_adjacency' : inconsistent input primitive for array size of explArrayBad
ERROR: 0:124: 'in' : type must be an array: nonArrayed
ERROR: 0:128: 'sample' : Reserved word. 
ERROR: 0:132: 'component' : not supported with this profile: es
ERROR: 0:136: 'gl_MaxGeometryVaryingComponents' : undeclared identifier 
ERROR: 0:137: 'gl_VerticesIn' : undeclared identifier 
ERROR: 0:142: 'gl_PointSize' : required extension not requested: Possible extensions include:
GL_EXT_geometry_point_size
GL_OES_geometry_point_size
ERROR: 0:143: 'gl_PointSize' : required extension not requested: Possible extensions include:
GL_EXT_geometry_point_size
GL_OES_geometry_point_size
ERROR: 37 compilation errors.  No code generated.


Shader version: 310
Requested GL_EXT_geometry_shader
Requested GL_EXT_shader_io_blocks
Requested GL_OES_geometry_point_size
invocations = 4
max_vertices = 200
input primitive = lines_adjacency
output primitive = triangle_strip
ERROR: node is still EOpNull!
0:39  Function Definition: main( (global void)
0:39    Function Parameters: 
0:41    Sequence
0:41      EmitVertex (global void)
0:42      EndPrimitive (global void)
0:43      Constant:
0:43        0.000000
0:44      Constant:
0:44        0.000000
0:46      move second child to first child (temp mediump 3-component vector of float)
0:46        color: direct index for structure (layout(stream=0 ) out mediump 3-component vector of float)
0:46          'anon@0' (layout(stream=0 ) out block{layout(stream=0 ) out mediump 3-component vector of float color})
0:46          Constant:
0:46            0 (const uint)
0:46        color: direct index for structure (in mediump 3-component vector of float)
0:46          direct index (temp block{in mediump 3-component vector of float color})
0:46            'fromV' (in 4-element array of block{in mediump 3-component vector of float color})
0:46            Constant:
0:46              0 (const int)
0:46          Constant:
0:46            0 (const int)
0:47      move second child to first child (temp float)
0:47        Constant:
0:47          0.000000
0:48        Constant:
0:48          0.000000
0:49      move second child to first child (temp highp 4-component vector of float)
0:49        gl_Position: direct index for structure (layout(stream=0 ) gl_Position highp 4-component vector of float Position)
0:49          '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:49          Constant:
0:49            0 (const uint)
0:49        gl_Position: direct index for structure (in highp 4-component vector of float Position)
0:49          direct index (temp block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:49            '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:49            Constant:
0:49              0 (const int)
0:49          Constant:
0:49            0 (const int)
0:51      move second child to first child (temp highp int)
0:51        'gl_PrimitiveID' (layout(stream=0 ) out highp int PrimitiveID)
0:51        'gl_PrimitiveIDIn' (in highp int PrimitiveID)
0:52      move second child to first child (temp highp int)
0:52        'gl_Layer' (layout(stream=0 ) out highp int Layer)
0:52        Constant:
0:52          2 (const int)
0:63  Function Definition: foo(i1; (global void)
0:63    Function Parameters: 
0:63      'a' (in highp int)
0:65    Sequence
0:65      move second child to first child (temp mediump 4-component vector of float)
0:65        a: direct index for structure (layout(stream=0 ) out mediump 4-component vector of float)
0:65          'ouuaa6' (layout(stream=0 ) out block{layout(stream=0 ) out mediump 4-component vector of float a})
0:65          Constant:
0:65            0 (const int)
0:65        Constant:
0:65          1.000000
0:65          1.000000
0:65          1.000000
0:65          1.000000
0:114  Function Definition: fooe1( (global void)
0:114    Function Parameters: 
0:116    Sequence
0:116      'gl_ViewportIndex' (temp float)
0:117      'gl_MaxViewports' (temp float)
0:118      Constant:
0:118        4 (const int)
0:119      Sequence
0:119        move second child to first child (temp highp int)
0:119          'inv' (temp highp int)
0:119          'gl_InvocationID' (in highp int InvocationID)
0:134  Function Definition: notHere( (global void)
0:134    Function Parameters: 
0:136    Sequence
0:136      'gl_MaxGeometryVaryingComponents' (temp float)
0:137      'gl_VerticesIn' (temp float)
0:140  Function Definition: pointSize1( (global void)
0:140    Function Parameters: 
0:142    Sequence
0:142      Sequence
0:142        move second child to first child (temp highp float)
0:142          'ps' (temp highp float)
0:142          gl_PointSize: direct index for structure (in highp float PointSize)
0:142            direct index (temp block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:142              '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:142              Constant:
0:142                3 (const int)
0:142            Constant:
0:142              1 (const int)
0:143      move second child to first child (temp highp float)
0:143        gl_PointSize: direct index for structure (layout(stream=0 ) gl_PointSize highp float PointSize)
0:143          '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:143          Constant:
0:143            1 (const uint)
0:143        'ps' (temp highp float)
0:148  Function Definition: pointSize2( (global void)
0:148    Function Parameters: 
0:150    Sequence
0:150      Sequence
0:150        move second child to first child (temp highp float)
0:150          'ps' (temp highp float)
0:150          gl_PointSize: direct index for structure (in highp float PointSize)
0:150            direct index (temp block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:150              '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:150              Constant:
0:150                3 (const int)
0:150            Constant:
0:150              1 (const int)
0:151      move second child to first child (temp highp float)
0:151        gl_PointSize: direct index for structure (layout(stream=0 ) gl_PointSize highp float PointSize)
0:151          '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:151          Constant:
0:151            1 (const uint)
0:151        '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: 310
Requested GL_EXT_geometry_shader
Requested GL_EXT_shader_io_blocks
Requested GL_OES_geometry_point_size
invocations = 4
max_vertices = 200
input primitive = lines_adjacency
output primitive = triangle_strip
ERROR: node is still EOpNull!
0:39  Function Definition: main( (global void)
0:39    Function Parameters: 
0:41    Sequence
0:41      EmitVertex (global void)
0:42      EndPrimitive (global void)
0:43      Constant:
0:43        0.000000
0:44      Constant:
0:44        0.000000
0:46      move second child to first child (temp mediump 3-component vector of float)
0:46        color: direct index for structure (layout(stream=0 ) out mediump 3-component vector of float)
0:46          'anon@0' (layout(stream=0 ) out block{layout(stream=0 ) out mediump 3-component vector of float color})
0:46          Constant:
0:46            0 (const uint)
0:46        color: direct index for structure (in mediump 3-component vector of float)
0:46          direct index (temp block{in mediump 3-component vector of float color})
0:46            'fromV' (in 4-element array of block{in mediump 3-component vector of float color})
0:46            Constant:
0:46              0 (const int)
0:46          Constant:
0:46            0 (const int)
0:47      move second child to first child (temp float)
0:47        Constant:
0:47          0.000000
0:48        Constant:
0:48          0.000000
0:49      move second child to first child (temp highp 4-component vector of float)
0:49        gl_Position: direct index for structure (layout(stream=0 ) gl_Position highp 4-component vector of float Position)
0:49          '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:49          Constant:
0:49            0 (const uint)
0:49        gl_Position: direct index for structure (in highp 4-component vector of float Position)
0:49          direct index (temp block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:49            '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:49            Constant:
0:49              0 (const int)
0:49          Constant:
0:49            0 (const int)
0:51      move second child to first child (temp highp int)
0:51        'gl_PrimitiveID' (layout(stream=0 ) out highp int PrimitiveID)
0:51        'gl_PrimitiveIDIn' (in highp int PrimitiveID)
0:52      move second child to first child (temp highp int)
0:52        'gl_Layer' (layout(stream=0 ) out highp int Layer)
0:52        Constant:
0:52          2 (const int)
0:63  Function Definition: foo(i1; (global void)
0:63    Function Parameters: 
0:63      'a' (in highp int)
0:65    Sequence
0:65      move second child to first child (temp mediump 4-component vector of float)
0:65        a: direct index for structure (layout(stream=0 ) out mediump 4-component vector of float)
0:65          'ouuaa6' (layout(stream=0 ) out block{layout(stream=0 ) out mediump 4-component vector of float a})
0:65          Constant:
0:65            0 (const int)
0:65        Constant:
0:65          1.000000
0:65          1.000000
0:65          1.000000
0:65          1.000000
0:114  Function Definition: fooe1( (global void)
0:114    Function Parameters: 
0:116    Sequence
0:116      'gl_ViewportIndex' (temp float)
0:117      'gl_MaxViewports' (temp float)
0:118      Constant:
0:118        4 (const int)
0:119      Sequence
0:119        move second child to first child (temp highp int)
0:119          'inv' (temp highp int)
0:119          'gl_InvocationID' (in highp int InvocationID)
0:134  Function Definition: notHere( (global void)
0:134    Function Parameters: 
0:136    Sequence
0:136      'gl_MaxGeometryVaryingComponents' (temp float)
0:137      'gl_VerticesIn' (temp float)
0:140  Function Definition: pointSize1( (global void)
0:140    Function Parameters: 
0:142    Sequence
0:142      Sequence
0:142        move second child to first child (temp highp float)
0:142          'ps' (temp highp float)
0:142          gl_PointSize: direct index for structure (in highp float PointSize)
0:142            direct index (temp block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:142              '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:142              Constant:
0:142                3 (const int)
0:142            Constant:
0:142              1 (const int)
0:143      move second child to first child (temp highp float)
0:143        gl_PointSize: direct index for structure (layout(stream=0 ) gl_PointSize highp float PointSize)
0:143          '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:143          Constant:
0:143            1 (const uint)
0:143        'ps' (temp highp float)
0:148  Function Definition: pointSize2( (global void)
0:148    Function Parameters: 
0:150    Sequence
0:150      Sequence
0:150        move second child to first child (temp highp float)
0:150          'ps' (temp highp float)
0:150          gl_PointSize: direct index for structure (in highp float PointSize)
0:150            direct index (temp block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:150              '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:150              Constant:
0:150                3 (const int)
0:150            Constant:
0:150              1 (const int)
0:151      move second child to first child (temp highp float)
0:151        gl_PointSize: direct index for structure (layout(stream=0 ) gl_PointSize highp float PointSize)
0:151          '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:151          Constant:
0:151            1 (const uint)
0:151        '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)