Bump code gen version, due to removal of OpEntryPoint operands.
[platform/upstream/glslang.git] / Test / baseResults / 440.vert.out
1 440.vert
2 ERROR: 0:8: 'component' : type overflows the available 4 components 
3 ERROR: 0:15: 'component' : component is too large 
4 ERROR: 0:23: 'location' : overlapping use of location 4
5 ERROR: 0:26: 'location' : overlapping use of location 2
6 ERROR: 0:31: 'location' : overlapping use of location 15
7 ERROR: 0:32: 'location' : overlapping use of location 10
8 ERROR: 0:37: 'location' : overlapping use of location 20
9 ERROR: 0:39: 'component' : type overflows the available 4 components 
10 ERROR: 0:40: 'component' : type overflows the available 4 components 
11 ERROR: 0:42: 'component' : cannot apply to a matrix, structure, or block 
12 ERROR: 0:43: 'component' : cannot apply to a matrix, structure, or block 
13 ERROR: 0:44: 'component' : cannot apply to a matrix, structure, or block 
14 ERROR: 0:46: 'component' : must specify 'location' to use 'component' 
15 ERROR: 0:52: 'location' : overlapping use of location 40
16 ERROR: 0:54: 'component' : type overflows the available 4 components 
17 ERROR: 0:55: 'component' : type overflows the available 4 components 
18 ERROR: 0:57: 'component' : cannot apply to a matrix, structure, or block 
19 ERROR: 0:58: 'component' : cannot apply to a matrix, structure, or block 
20 ERROR: 0:61: 'location/component/index' : cannot declare a default, use a full declaration 
21 ERROR: 0:66: 'component' : doubles cannot start on an odd-numbered component 
22 ERROR: 0:67: 'component' : type overflows the available 4 components 
23 ERROR: 0:71: 'location' : overlapping use of location 55
24 ERROR: 0:75: 'location' : overlapping use of location 57
25 ERROR: 0:78: 'location' : overlapping use of location 59
26 ERROR: 0:95: 'xfb layout qualifier' : can only be used on an output 
27 ERROR: 0:101: 'xfb_offset' : cannot declare a default, use a full declaration 
28 ERROR: 0:111: 'xfb_buffer' : member cannot contradict block (or what block inherited from global) 
29 ERROR: 0:116: 'xfb_buffer' : member cannot contradict block (or what block inherited from global) 
30 ERROR: 0:116: 'xfb_offset' : overlapping offsets at offset 32 in buffer 3
31 ERROR: 0:117: 'xfb_offset' : overlapping offsets at offset 0 in buffer 2
32 ERROR: 0:119: 'xfb_offset' : overlapping offsets at offset 24 in buffer 2
33 ERROR: 0:122: 'xfb_stride' : all stride settings must match for xfb buffer 15
34 ERROR: 0:126: 'xfb_offset' : overlapping offsets at offset 4 in buffer 1
35 ERROR: 0:128: 'xfb_stride' : all stride settings must match for xfb buffer 3
36 ERROR: 0:129: 'xfb_stride' : all stride settings must match for xfb buffer 3
37 ERROR: 0:133: 'xfb_stride' : all stride settings must match for xfb buffer 3
38 ERROR: 0:131: 'xfb_stride' : all stride settings must match for xfb buffer 3
39 ERROR: 0:152: 'xfb_offset' : overlapping offsets at offset 64 in buffer 0
40 ERROR: 0:157: 'xfb_buffer' : buffer is too large: gl_MaxTransformFeedbackBuffers is 4
41 ERROR: 0:158: 'xfb_offset' : must be a multiple of size of first component 
42 ERROR: 0:159: 'xfb_offset' : type contains double or 64-bit integer; xfb_offset must be a multiple of 8 
43 ERROR: 0:161: 'xfb_offset' : must be a multiple of size of first component 
44 ERROR: 0:162: 'xfb_offset' : type contains double or 64-bit integer; xfb_offset must be a multiple of 8 
45 ERROR: 0:166: 'xfb_buffer' : buffer is too large: gl_MaxTransformFeedbackBuffers is 4
46 ERROR: 0:169: 'xfb_buffer' : buffer is too large: gl_MaxTransformFeedbackBuffers is 4
47 ERROR: 0:169: 'xfb_stride' : 1/4 stride is too large: gl_MaxTransformFeedbackInterleavedComponents is 64
48 ERROR: 0:171: 'xfb_buffer' : buffer is too large: gl_MaxTransformFeedbackBuffers is 4
49 ERROR: 0:178: 'xfb_offset' : overlapping offsets at offset 36 in buffer 3
50 ERROR: 0:179: 'xfb_buffer' : member cannot contradict block (or what block inherited from global) 
51 ERROR: 0:178: 'xfb_offset' : overlapping offsets at offset 32 in buffer 3
52 ERROR: 0:185: 'gl_BaseVertexARB' : required extension not requested: GL_ARB_shader_draw_parameters
53 ERROR: 0:185: 'gl_BaseInstanceARB' : required extension not requested: GL_ARB_shader_draw_parameters
54 ERROR: 0:185: 'gl_DrawIDARB' : required extension not requested: GL_ARB_shader_draw_parameters
55 ERROR: 0:193: 'assign' :  l-value required "gl_BaseVertexARB" (can't modify shader input)
56 ERROR: 0:194: 'assign' :  l-value required "gl_BaseInstanceARB" (can't modify shader input)
57 ERROR: 0:195: 'assign' :  l-value required "gl_DrawIDARB" (can't modify shader input)
58 ERROR: 0:196: 'glBaseInstanceARB' : undeclared identifier 
59 ERROR: 57 compilation errors.  No code generated.
60
61
62 Shader version: 440
63 Requested GL_ARB_shader_draw_parameters
64 in xfb mode
65 ERROR: node is still EOpNull!
66 0:183  Function Definition: drawParamsBad( ( global int)
67 0:183    Function Parameters: 
68 0:185    Sequence
69 0:185      Branch: Return with expression
70 0:185        add ( temp int)
71 0:185          add ( temp int)
72 0:185            'gl_BaseVertexARB' ( in int BaseVertex)
73 0:185            'gl_BaseInstanceARB' ( in int BaseInstance)
74 0:185          'gl_DrawIDARB' ( in int DrawId)
75 0:190  Function Definition: drawParams( ( global int)
76 0:190    Function Parameters: 
77 0:192    Sequence
78 0:192      Branch: Return with expression
79 0:192        add ( temp int)
80 0:192          add ( temp int)
81 0:192            'gl_BaseVertexARB' ( in int BaseVertex)
82 0:192            'gl_BaseInstanceARB' ( in int BaseInstance)
83 0:192          'gl_DrawIDARB' ( in int DrawId)
84 0:193      move second child to first child ( temp int)
85 0:193        'gl_BaseVertexARB' ( in int BaseVertex)
86 0:193        Constant:
87 0:193          3 (const int)
88 0:194      move second child to first child ( temp int)
89 0:194        'gl_BaseInstanceARB' ( in int BaseInstance)
90 0:194        Constant:
91 0:194          3 (const int)
92 0:195      move second child to first child ( temp int)
93 0:195        'gl_DrawIDARB' ( in int DrawId)
94 0:195        Constant:
95 0:195          3 (const int)
96 0:196      'glBaseInstanceARB' ( temp float)
97 0:?   Linker Objects
98 0:?     'a' (layout( location=2 component=2) in 2-component vector of float)
99 0:?     'b' (layout( location=2 component=1) in float)
100 0:?     'c' (layout( location=3 component=2) in 3-component vector of float)
101 0:?     'd' (layout( location=0 component=3) in 4-element array of float)
102 0:?     'e' (layout( location=4 component=0) in 5-element array of 3-component vector of float)
103 0:?     'f' (layout( location=4 component=3) in 5-element array of float)
104 0:?     'g' (layout( location=9) in 6-element array of float)
105 0:?     'h' (layout( location=4 component=2) in 2-component vector of float)
106 0:?     'i' (layout( location=3 component=2) smooth out 2-component vector of float)
107 0:?     'j' (layout( location=3 component=0) smooth out 2-component vector of float)
108 0:?     'k' (layout( location=4 component=2) smooth out 2-component vector of float)
109 0:?     'm' (layout( location=4 component=2) smooth out 2-component vector of float)
110 0:?     'n' (layout( location=2 component=2) smooth out 2-component vector of float)
111 0:?     'p' (layout( location=2 component=0) smooth out 3-component vector of float)
112 0:?     'q' (layout( location=10 component=3) smooth out 6-element array of float)
113 0:?     'r' (layout( location=10 component=0) smooth out 6-element array of 3-component vector of float)
114 0:?     's' (layout( location=15 component=3) smooth out float)
115 0:?     't' (layout( location=10 component=1) smooth out float)
116 0:?     'u' (layout( location=20 component=2) smooth out float)
117 0:?     'v' (layout( location=20 component=0) smooth out float)
118 0:?     'w' (layout( location=20 component=3) smooth out float)
119 0:?     'x' (layout( location=20 component=1) smooth out 2-component vector of float)
120 0:?     'y' (layout( location=30 component=3) smooth out 2-component vector of float)
121 0:?     'z' (layout( location=31 component=1) smooth out 4-component vector of float)
122 0:?     'ba' (layout( location=32 component=1) smooth out 4X4 matrix of float)
123 0:?     'Ss' (layout( location=33 component=1) smooth out structure{ global int a})
124 0:?     'bb' (layout( location=34 component=1) out block{ out int a})
125 0:?     'bc' (layout( location=4095 component=1) smooth out float)
126 0:?     'bd' ( out block{layout( location=40 component=2) out float u, layout( location=40 component=0) out float v, layout( location=40 component=3) out float w, layout( location=40 component=1) out 2-component vector of float x, layout( location=41 component=3) out 2-component vector of float y, layout( location=42 component=1) out 4-component vector of float z, layout( location=42 component=1) out 4X4 matrix of float ba, layout( location=43 component=1) out structure{ global int a} Ss})
127 0:?     'be' (layout( location=50 component=3) smooth out int)
128 0:?     'bf' (layout( location=50 component=0) smooth out 3-component vector of float)
129 0:?     'dfo' (layout( location=51 component=1) smooth out double)
130 0:?     'dvo' (layout( location=52 component=2) smooth out 2-component vector of double)
131 0:?     'dfo2' (layout( location=53) smooth out double)
132 0:?     'ffv2' (layout( location=53 component=2) smooth out 2-component vector of float)
133 0:?     'dvec4out' (layout( location=54) smooth out 4-component vector of double)
134 0:?     'overf' (layout( location=55) smooth out float)
135 0:?     'df2o' (layout( location=56 component=1) smooth out 2-component vector of float)
136 0:?     'sf2o' (layout( location=56 component=3) smooth out float)
137 0:?     'dv3o' (layout( location=57 component=2) smooth out 2-component vector of float)
138 0:?     'sf4o' (layout( location=57 component=3) smooth out float)
139 0:?     'dv3o2' (layout( location=58) flat out 3-component vector of double)
140 0:?     'dfo3' (layout( location=59 component=2) flat out double)
141 0:?     'dfo4' (layout( location=59 component=0) flat out double)
142 0:?     'bbinst1' ( out block{ out 4-component vector of float bbv})
143 0:?     'bbinst2' ( out block{layout( xfb_buffer=0 xfb_offset=64) out 4-component vector of float bbv})
144 0:?     'bbinst3' ( out block{layout( xfb_buffer=3 xfb_offset=16) out 4-component vector of float bbv})
145 0:?     'ubbinst3' (layout( column_major shared) uniform block{layout( column_major shared xfb_offset=16) uniform 4-component vector of float bbv})
146 0:?     'bg' (layout( xfb_buffer=2 xfb_offset=48 xfb_stride=80) smooth out 4-component vector of float)
147 0:?     'bh' (layout( xfb_buffer=3 xfb_offset=32 xfb_stride=64) smooth out 4-component vector of float)
148 0:?     'bbinst4' (layout( xfb_stride=80) out block{layout( xfb_buffer=2 xfb_offset=16) out 4-component vector of float bbv1, layout( xfb_buffer=2 xfb_offset=32) out 4-component vector of float bbv2})
149 0:?     'bbinst5' ( out block{layout( xfb_buffer=3 xfb_offset=0) out 4-component vector of float bbv1, layout( xfb_buffer=3 xfb_offset=48 xfb_stride=64) out 4-component vector of float bbv2,  out 4-component vector of float bbv3})
150 0:?     'bbinst6' ( out block{layout( xfb_buffer=2 xfb_offset=0) out 4-component vector of float bbv1, layout( xfb_buffer=3 xfb_offset=32 xfb_stride=64) out 4-component vector of float bbv2, layout( xfb_buffer=2 xfb_offset=0) out 4-component vector of float bbv3,  out 4-component vector of float bbv5, layout( xfb_buffer=2 xfb_offset=24) out float bbf6})
151 0:?     'bj' (layout( xfb_buffer=1 xfb_offset=4) smooth out float)
152 0:?     'bk' (layout( xfb_buffer=1 xfb_offset=0) smooth out 2-component vector of int)
153 0:?     'bl' (layout( xfb_stride=48) smooth out float)
154 0:?     'bbinst7' (layout( xfb_stride=48) out block{layout( xfb_stride=64) out 4-component vector of float bbv1, layout( xfb_stride=32) out 4-component vector of float bbv2})
155 0:?     'bbinst8' (layout( xfb_stride=92) out block{layout( xfb_buffer=0 xfb_offset=0) out bool b, layout( xfb_buffer=0 xfb_offset=8) out structure{ global bool b,  global structure{ global int i,  global double d,  global float f} s,  global 2-component vector of float v2} t, layout( xfb_buffer=0 xfb_offset=48) out int i, layout( xfb_buffer=0 xfb_offset=52) out 3X3 matrix of float m3, layout( xfb_buffer=0 xfb_offset=88) out float f, layout( xfb_buffer=0 xfb_offset=92) out float g})
156 0:?     'bbinst9' ( out block{layout( xfb_buffer=4 xfb_offset=1) out bool b, layout( xfb_buffer=4 xfb_offset=12) out structure{ global bool b,  global structure{ global int i,  global double d,  global float f} s,  global 2-component vector of float v2} t, layout( xfb_buffer=4 xfb_offset=52) out 3X3 matrix of float m3, layout( xfb_buffer=4 xfb_offset=90) out int i, layout( xfb_buffer=4 xfb_offset=98) out double d, layout( xfb_buffer=4 xfb_offset=108) out structure{ global int a} s})
157 0:?     'bm' (layout( xfb_buffer=5 xfb_offset=0) smooth out float)
158 0:?     'bbinst10' ( out block{layout( xfb_buffer=7 xfb_offset=0) out 4X4 matrix of double m1, layout( xfb_buffer=7 xfb_offset=128) out 4X4 matrix of double m2, layout( xfb_buffer=7 xfb_offset=256) out float f})
159 0:?     'anon@0' ( out block{layout( xfb_buffer=3 xfb_offset=36) gl_Position 4-component vector of float Position gl_Position, layout( xfb_buffer=3 xfb_offset=32) gl_PointSize float PointSize gl_PointSize})
160 0:?     'gl_VertexID' ( gl_VertexId int VertexId)
161 0:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
162
163
164 Linked vertex stage:
165
166 ERROR: Linking vertex stage: Missing entry point: Each stage requires one entry point
167 ERROR: Linking vertex stage: xfb_stride is too small to hold all buffer entries:
168 ERROR:     xfb_buffer 0, xfb_stride 92, minimum stride needed: 96
169 ERROR: Linking vertex stage: xfb_stride must be multiple of 8 for buffer holding a double or 64-bit integer:
170 ERROR:     xfb_buffer 0, xfb_stride 92
171 ERROR: Linking vertex stage: xfb_stride must be multiple of 4:
172 ERROR:     xfb_buffer 5, xfb_stride 6
173 ERROR: Linking vertex stage: xfb_stride is too large:
174 ERROR:     xfb_buffer 6, components (1/4 stride) needed are 500, gl_MaxTransformFeedbackInterleavedComponents is 64
175 ERROR: Linking vertex stage: xfb_stride is too large:
176 ERROR:     xfb_buffer 7, components (1/4 stride) needed are 66, gl_MaxTransformFeedbackInterleavedComponents is 64
177
178 Shader version: 440
179 Requested GL_ARB_shader_draw_parameters
180 in xfb mode
181 ERROR: node is still EOpNull!
182 0:?   Linker Objects
183 0:?     'a' (layout( location=2 component=2) in 2-component vector of float)
184 0:?     'b' (layout( location=2 component=1) in float)
185 0:?     'c' (layout( location=3 component=2) in 3-component vector of float)
186 0:?     'd' (layout( location=0 component=3) in 4-element array of float)
187 0:?     'e' (layout( location=4 component=0) in 5-element array of 3-component vector of float)
188 0:?     'f' (layout( location=4 component=3) in 5-element array of float)
189 0:?     'g' (layout( location=9) in 6-element array of float)
190 0:?     'h' (layout( location=4 component=2) in 2-component vector of float)
191 0:?     'i' (layout( location=3 component=2) smooth out 2-component vector of float)
192 0:?     'j' (layout( location=3 component=0) smooth out 2-component vector of float)
193 0:?     'k' (layout( location=4 component=2) smooth out 2-component vector of float)
194 0:?     'm' (layout( location=4 component=2) smooth out 2-component vector of float)
195 0:?     'n' (layout( location=2 component=2) smooth out 2-component vector of float)
196 0:?     'p' (layout( location=2 component=0) smooth out 3-component vector of float)
197 0:?     'q' (layout( location=10 component=3) smooth out 6-element array of float)
198 0:?     'r' (layout( location=10 component=0) smooth out 6-element array of 3-component vector of float)
199 0:?     's' (layout( location=15 component=3) smooth out float)
200 0:?     't' (layout( location=10 component=1) smooth out float)
201 0:?     'u' (layout( location=20 component=2) smooth out float)
202 0:?     'v' (layout( location=20 component=0) smooth out float)
203 0:?     'w' (layout( location=20 component=3) smooth out float)
204 0:?     'x' (layout( location=20 component=1) smooth out 2-component vector of float)
205 0:?     'y' (layout( location=30 component=3) smooth out 2-component vector of float)
206 0:?     'z' (layout( location=31 component=1) smooth out 4-component vector of float)
207 0:?     'ba' (layout( location=32 component=1) smooth out 4X4 matrix of float)
208 0:?     'Ss' (layout( location=33 component=1) smooth out structure{ global int a})
209 0:?     'bb' (layout( location=34 component=1) out block{ out int a})
210 0:?     'bc' (layout( location=4095 component=1) smooth out float)
211 0:?     'bd' ( out block{layout( location=40 component=2) out float u, layout( location=40 component=0) out float v, layout( location=40 component=3) out float w, layout( location=40 component=1) out 2-component vector of float x, layout( location=41 component=3) out 2-component vector of float y, layout( location=42 component=1) out 4-component vector of float z, layout( location=42 component=1) out 4X4 matrix of float ba, layout( location=43 component=1) out structure{ global int a} Ss})
212 0:?     'be' (layout( location=50 component=3) smooth out int)
213 0:?     'bf' (layout( location=50 component=0) smooth out 3-component vector of float)
214 0:?     'dfo' (layout( location=51 component=1) smooth out double)
215 0:?     'dvo' (layout( location=52 component=2) smooth out 2-component vector of double)
216 0:?     'dfo2' (layout( location=53) smooth out double)
217 0:?     'ffv2' (layout( location=53 component=2) smooth out 2-component vector of float)
218 0:?     'dvec4out' (layout( location=54) smooth out 4-component vector of double)
219 0:?     'overf' (layout( location=55) smooth out float)
220 0:?     'df2o' (layout( location=56 component=1) smooth out 2-component vector of float)
221 0:?     'sf2o' (layout( location=56 component=3) smooth out float)
222 0:?     'dv3o' (layout( location=57 component=2) smooth out 2-component vector of float)
223 0:?     'sf4o' (layout( location=57 component=3) smooth out float)
224 0:?     'dv3o2' (layout( location=58) flat out 3-component vector of double)
225 0:?     'dfo3' (layout( location=59 component=2) flat out double)
226 0:?     'dfo4' (layout( location=59 component=0) flat out double)
227 0:?     'bbinst1' ( out block{ out 4-component vector of float bbv})
228 0:?     'bbinst2' ( out block{layout( xfb_buffer=0 xfb_offset=64) out 4-component vector of float bbv})
229 0:?     'bbinst3' ( out block{layout( xfb_buffer=3 xfb_offset=16) out 4-component vector of float bbv})
230 0:?     'ubbinst3' (layout( column_major shared) uniform block{layout( column_major shared xfb_offset=16) uniform 4-component vector of float bbv})
231 0:?     'bg' (layout( xfb_buffer=2 xfb_offset=48 xfb_stride=80) smooth out 4-component vector of float)
232 0:?     'bh' (layout( xfb_buffer=3 xfb_offset=32 xfb_stride=64) smooth out 4-component vector of float)
233 0:?     'bbinst4' (layout( xfb_stride=80) out block{layout( xfb_buffer=2 xfb_offset=16) out 4-component vector of float bbv1, layout( xfb_buffer=2 xfb_offset=32) out 4-component vector of float bbv2})
234 0:?     'bbinst5' ( out block{layout( xfb_buffer=3 xfb_offset=0) out 4-component vector of float bbv1, layout( xfb_buffer=3 xfb_offset=48 xfb_stride=64) out 4-component vector of float bbv2,  out 4-component vector of float bbv3})
235 0:?     'bbinst6' ( out block{layout( xfb_buffer=2 xfb_offset=0) out 4-component vector of float bbv1, layout( xfb_buffer=3 xfb_offset=32 xfb_stride=64) out 4-component vector of float bbv2, layout( xfb_buffer=2 xfb_offset=0) out 4-component vector of float bbv3,  out 4-component vector of float bbv5, layout( xfb_buffer=2 xfb_offset=24) out float bbf6})
236 0:?     'bj' (layout( xfb_buffer=1 xfb_offset=4) smooth out float)
237 0:?     'bk' (layout( xfb_buffer=1 xfb_offset=0) smooth out 2-component vector of int)
238 0:?     'bl' (layout( xfb_stride=48) smooth out float)
239 0:?     'bbinst7' (layout( xfb_stride=48) out block{layout( xfb_stride=64) out 4-component vector of float bbv1, layout( xfb_stride=32) out 4-component vector of float bbv2})
240 0:?     'bbinst8' (layout( xfb_stride=92) out block{layout( xfb_buffer=0 xfb_offset=0) out bool b, layout( xfb_buffer=0 xfb_offset=8) out structure{ global bool b,  global structure{ global int i,  global double d,  global float f} s,  global 2-component vector of float v2} t, layout( xfb_buffer=0 xfb_offset=48) out int i, layout( xfb_buffer=0 xfb_offset=52) out 3X3 matrix of float m3, layout( xfb_buffer=0 xfb_offset=88) out float f, layout( xfb_buffer=0 xfb_offset=92) out float g})
241 0:?     'bbinst9' ( out block{layout( xfb_buffer=4 xfb_offset=1) out bool b, layout( xfb_buffer=4 xfb_offset=12) out structure{ global bool b,  global structure{ global int i,  global double d,  global float f} s,  global 2-component vector of float v2} t, layout( xfb_buffer=4 xfb_offset=52) out 3X3 matrix of float m3, layout( xfb_buffer=4 xfb_offset=90) out int i, layout( xfb_buffer=4 xfb_offset=98) out double d, layout( xfb_buffer=4 xfb_offset=108) out structure{ global int a} s})
242 0:?     'bm' (layout( xfb_buffer=5 xfb_offset=0) smooth out float)
243 0:?     'bbinst10' ( out block{layout( xfb_buffer=7 xfb_offset=0) out 4X4 matrix of double m1, layout( xfb_buffer=7 xfb_offset=128) out 4X4 matrix of double m2, layout( xfb_buffer=7 xfb_offset=256) out float f})
244 0:?     'anon@0' ( out block{layout( xfb_buffer=3 xfb_offset=36) gl_Position 4-component vector of float Position gl_Position, layout( xfb_buffer=3 xfb_offset=32) gl_PointSize float PointSize gl_PointSize})
245 0:?     'gl_VertexID' ( gl_VertexId int VertexId)
246 0:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
247