Setup dependent external sources
[platform/upstream/VK-GL-CTS.git] / external / glslang / src / Test / baseResults / 420.vert.out
1 420.vert
2 Warning, version 420 is not yet complete; most version-specific features are present, but some are missing.
3 ERROR: 0:2: '#version' : must occur first in shader 
4 WARNING: 0:3: varying deprecated in version 130; may be removed in future release
5 ERROR: 0:3: 'varying' : no longer supported in core profile; removed in version 420
6 ERROR: 0:7: '' : vertex input cannot be further qualified 
7 ERROR: 0:11: '' : can only have one interpolation qualifier (flat, smooth, noperspective, __explicitInterpAMD) 
8 ERROR: 0:12: '' : can only have one auxiliary qualifier (centroid, patch, and sample) 
9 ERROR: 0:13: 'uniform' : too many storage qualifiers 
10 ERROR: 0:18: '=' : global const initializers must be constant ' const int'
11 ERROR: 0:20: 'const' : no qualifiers allowed for function return 
12 ERROR: 0:27: '' : array size must be a constant integer expression 
13 ERROR: 0:38: 'j' : undeclared identifier 
14 ERROR: 0:38: '=' :  cannot convert from ' temp float' to ' temp int'
15 ERROR: 0:39: 'k' : undeclared identifier 
16 ERROR: 0:39: '=' :  cannot convert from ' temp float' to ' temp int'
17 ERROR: 0:40: 'j' : undeclared identifier 
18 ERROR: 0:40: '=' :  cannot convert from ' temp float' to ' temp int'
19 ERROR: 0:44: 'jj' : undeclared identifier 
20 ERROR: 0:44: '=' :  cannot convert from ' temp float' to ' temp int'
21 ERROR: 0:54: 'y' : vector swizzle selection out of range 
22 ERROR: 0:62: 'xxxxx' : vector swizzle too long 
23 ERROR: 0:63: 'xxy' : vector swizzle selection out of range 
24 ERROR: 0:66: 'binding' : cannot declare a default, include a type or full declaration 
25 ERROR: 0:69: 'location/component/index' : cannot declare a default, use a full declaration 
26 ERROR: 0:70: 'input block' : not supported in this stage: vertex
27 ERROR: 0:70: 'binding' : requires uniform or buffer storage qualifier 
28 ERROR: 0:71: 'binding' : binding is too large 
29 ERROR: 0:74: 'binding' : sampler binding not less than gl_MaxCombinedTextureImageUnits 
30 ERROR: 0:76: 'binding' : sampler binding not less than gl_MaxCombinedTextureImageUnits (using array)
31 ERROR: 0:85: 'patch' : not supported in this stage: vertex
32 ERROR: 0:85: '' : vertex input cannot be further qualified 
33 ERROR: 0:86: 'patch' : not supported in this stage: vertex
34 ERROR: 0:100: '=' : global const initializers must be constant ' const int'
35 ERROR: 0:101: '' : array size must be a constant integer expression 
36 ERROR: 0:107: 'image variables declared 'writeonly' without a format layout qualifier' : not supported for this version or the enabled extensions 
37 ERROR: 0:114: 'imageAtomicMin' : only supported on image with format r32i or r32ui 
38 ERROR: 0:115: 'imageAtomicMax' : no matching overloaded function found 
39 ERROR: 0:119: 'writeonly' : argument cannot drop memory qualifier when passed to formal parameter 
40 ERROR: 0:122: '' : memory qualifiers cannot be used on this type 
41 ERROR: 0:123: '' : memory qualifiers cannot be used on this type 
42 ERROR: 0:135: 'volatile' : argument cannot drop memory qualifier when passed to formal parameter 
43 ERROR: 0:139: 'rg8i' : does not apply to unsigned integer images 
44 ERROR: 0:140: 'rgba32i' : does not apply to floating point images 
45 ERROR: 0:141: 'rgba32f' : does not apply to unsigned integer images 
46 ERROR: 0:142: 'r8_snorm' : does not apply to signed integer images 
47 ERROR: 0:143: 'rgba32ui' : does not apply to signed integer images 
48 ERROR: 0:144: 'r8ui' : does not apply to signed integer images 
49 ERROR: 0:147: 'offset on block member' : not supported for this version or the enabled extensions 
50 ERROR: 0:147: 'offset/align' : can only be used with std140 or std430 layout packing 
51 ERROR: 0:157: 'textureQueryLevels' : no matching overloaded function found 
52 ERROR: 0:157: 'assign' :  cannot convert from ' const float' to ' temp int'
53 ERROR: 0:158: 'textureQueryLevels' : no matching overloaded function found 
54 ERROR: 0:158: 'assign' :  cannot convert from ' const float' to ' temp int'
55 WARNING: 0:161: '[]' : assuming array size of one for compile-time checking of binding numbers for implicitly-sized array 
56 ERROR: 51 compilation errors.  No code generated.
57
58
59 Shader version: 420
60 ERROR: node is still EOpNull!
61 0:20  Function Definition: foo( ( const int)
62 0:20    Function Parameters: 
63 0:?     Sequence
64 0:23      Sequence
65 0:23        move second child to first child ( temp int)
66 0:23          'b' ( const (read only) int)
67 0:23          'anonconst' ( global int)
68 0:25      Sequence
69 0:25        move second child to first child ( temp int)
70 0:25          'd' ( const (read only) int)
71 0:25          'b' ( const (read only) int)
72 0:29      Branch: Return with expression
73 0:29        'b' ( const (read only) int)
74 0:32  Function Definition: main( ( global void)
75 0:32    Function Parameters: 
76 0:?     Sequence
77 0:35      Test condition and select ( temp void)
78 0:35        Condition
79 0:35        Compare Equal ( temp bool)
80 0:35          'i' ( temp int)
81 0:35          Constant:
82 0:35            3 (const int)
83 0:35        true case
84 0:36        Sequence
85 0:36          move second child to first child ( temp int)
86 0:36            'j' ( temp int)
87 0:36            'i' ( temp int)
88 0:42      Loop with condition tested first
89 0:42        Loop Condition
90 0:42        Constant:
91 0:42          true (const bool)
92 0:42        No loop body
93 0:50  Function Definition: bar(vf4; ( global void)
94 0:50    Function Parameters: 
95 0:50      'v' ( volatile in 4-component vector of float)
96 0:?     Sequence
97 0:53      's' ( temp int)
98 0:54      's' ( temp int)
99 0:55      Test condition and select ( temp void)
100 0:55        Condition
101 0:55        Compare Equal ( temp bool)
102 0:55          direct index ( temp float)
103 0:55            direct index ( temp 4-component vector of float)
104 0:55              'bad' ( in 10-element array of 4-component vector of float)
105 0:55              Constant:
106 0:55                0 (const int)
107 0:55            Constant:
108 0:55              0 (const int)
109 0:55          Constant:
110 0:55            4.200000
111 0:55        true case is null
112 0:57      Test condition and select ( temp void)
113 0:57        Condition
114 0:57        Constant:
115 0:57          true (const bool)
116 0:57        true case
117 0:58        move second child to first child ( temp 4-component vector of float)
118 0:58          'badorder3' ( flat out 4-component vector of float)
119 0:58          direct index ( temp 4-component vector of float)
120 0:58            'bad' ( in 10-element array of 4-component vector of float)
121 0:58            Constant:
122 0:58              0 (const int)
123 0:61      Sequence
124 0:61        move second child to first child ( temp 3-component vector of float)
125 0:61          'smeared' ( temp 3-component vector of float)
126 0:61          Construct vec3 ( temp 3-component vector of float)
127 0:61            'f' ( temp float)
128 0:62      Construct vec4 ( temp 4-component vector of float)
129 0:62        'f' ( temp float)
130 0:63      Construct vec2 ( temp 2-component vector of float)
131 0:63        'f' ( temp float)
132 0:88  Function Definition: bar23444( ( global void)
133 0:88    Function Parameters: 
134 0:?     Sequence
135 0:91      Sequence
136 0:91        move second child to first child ( temp float)
137 0:91          'a1' ( temp float)
138 0:91          direct index ( temp float)
139 0:91            direct index ( temp 3-component vector of float)
140 0:91              'm43' ( temp 4X3 matrix of float)
141 0:91              Constant:
142 0:91                3 (const int)
143 0:91            Constant:
144 0:91              1 (const int)
145 0:93      Sequence
146 0:93        move second child to first child ( temp int)
147 0:93          'a2' ( temp int)
148 0:93          Constant:
149 0:93            4 (const int)
150 0:94      add second child into first child ( temp int)
151 0:94        'a2' ( temp int)
152 0:94        Constant:
153 0:94          3 (const int)
154 0:95      add second child into first child ( temp int)
155 0:95        'a2' ( temp int)
156 0:95        Constant:
157 0:95          3 (const int)
158 0:96      Sequence
159 0:96        move second child to first child ( temp float)
160 0:96          'b' ( const (read only) float)
161 0:96          component-wise multiply ( temp float)
162 0:96            Constant:
163 0:96              2.000000
164 0:96            'a1' ( temp float)
165 0:97      Sequence
166 0:97        move second child to first child ( temp int)
167 0:97          'a' ( temp int)
168 0:97          Constant:
169 0:97            -1 (const int)
170 0:109  Function Definition: qux( ( global void)
171 0:109    Function Parameters: 
172 0:111    Sequence
173 0:111      Sequence
174 0:111        move second child to first child ( temp int)
175 0:111          'i' ( temp int)
176 0:111          aoeu: direct index for structure (layout( column_major shared) uniform int)
177 0:111            'anon@0' (layout( binding=7 column_major shared) uniform block{layout( column_major shared) uniform int aoeu})
178 0:111            Constant:
179 0:111              0 (const uint)
180 0:112      imageAtomicCompSwap ( global int)
181 0:112        'iimg2D' (layout( r32i) uniform iimage2D)
182 0:112        Construct ivec2 ( temp 2-component vector of int)
183 0:112          'i' ( temp int)
184 0:112          'i' ( temp int)
185 0:112        'i' ( temp int)
186 0:112        'i' ( temp int)
187 0:113      imageAtomicAdd ( global uint)
188 0:113        'uimg2D' (layout( r32ui) uniform uimage2D)
189 0:113        Construct ivec2 ( temp 2-component vector of int)
190 0:113          'i' ( temp int)
191 0:113          'i' ( temp int)
192 0:113        Convert int to uint ( temp uint)
193 0:113          'i' ( temp int)
194 0:114      imageAtomicMin ( global int)
195 0:114        'iimg2Drgba' (layout( rgba32i) uniform iimage2D)
196 0:114        Construct ivec2 ( temp 2-component vector of int)
197 0:114          'i' ( temp int)
198 0:114          'i' ( temp int)
199 0:114        'i' ( temp int)
200 0:115      Constant:
201 0:115        0.000000
202 0:116      Sequence
203 0:116        move second child to first child ( temp 4-component vector of int)
204 0:116          'pos' ( temp 4-component vector of int)
205 0:116          imageLoad ( global 4-component vector of int)
206 0:116            'iimg2D' (layout( r32i) uniform iimage2D)
207 0:116            Construct ivec2 ( temp 2-component vector of int)
208 0:116              'i' ( temp int)
209 0:116              'i' ( temp int)
210 0:117      Sequence
211 0:117        move second child to first child ( temp 4-component vector of float)
212 0:117          'col' ( temp 4-component vector of float)
213 0:117          imageLoad ( global 4-component vector of float)
214 0:117            'img2DMS' ( uniform image2DMS)
215 0:117            Construct ivec2 ( temp 2-component vector of int)
216 0:117              'i' ( temp int)
217 0:117              'i' ( temp int)
218 0:117            'i' ( temp int)
219 0:118      imageStore ( global void)
220 0:118        'img2DMSWO' ( writeonly uniform image2DMS)
221 0:118        Construct ivec2 ( temp 2-component vector of int)
222 0:118          'i' ( temp int)
223 0:118          'i' ( temp int)
224 0:118        'i' ( temp int)
225 0:118        Constant:
226 0:118          0.000000
227 0:118          0.000000
228 0:118          0.000000
229 0:118          0.000000
230 0:119      imageLoad ( global 4-component vector of float)
231 0:119        'img2DMSWO' ( writeonly uniform image2DMS)
232 0:119        Construct ivec2 ( temp 2-component vector of int)
233 0:119          'i' ( temp int)
234 0:119          'i' ( temp int)
235 0:119        'i' ( temp int)
236 0:125  Function Definition: passr(iI21; ( global void)
237 0:125    Function Parameters: 
238 0:125      'image' ( coherent readonly in iimage2D)
239 0:132  Function Definition: passrc( ( global void)
240 0:132    Function Parameters: 
241 0:134    Sequence
242 0:134      Function Call: passr(iI21; ( global void)
243 0:134        'qualim1' (layout( r32i) coherent readonly uniform iimage2D)
244 0:135      Function Call: passr(iI21; ( global void)
245 0:135        'qualim2' (layout( r32i) coherent volatile readonly uniform iimage2D)
246 0:136      Function Call: passr(iI21; ( global void)
247 0:136        'iimg2D' (layout( r32i) uniform iimage2D)
248 0:153  Function Definition: qlod( ( global void)
249 0:153    Function Parameters: 
250 0:?     Sequence
251 0:157      'levels' ( temp int)
252 0:158      'levels' ( temp int)
253 0:?   Linker Objects
254 0:?     'v2' ( smooth out 2-component vector of float)
255 0:?     'bad' ( in 10-element array of 4-component vector of float)
256 0:?     'badorder' ( in 4-component vector of float)
257 0:?     'badorder2' ( invariant smooth out 4-component vector of float)
258 0:?     'badorder4' ( centroid in 4-component vector of float)
259 0:?     'badorder3' ( flat out 4-component vector of float)
260 0:?     'rep' ( smooth flat out 4-component vector of float)
261 0:?     'rep2' ( centroid smooth sample out 4-component vector of float)
262 0:?     'rep3' ( in 4-component vector of float)
263 0:?     'anonconst' ( global int)
264 0:?     'aconst' ( const int)
265 0:?       5 (const int)
266 0:?     'a' ( const int)
267 0:?       5 (const int)
268 0:?     'b' ( temp int)
269 0:?     'cx' ( const float)
270 0:?       4.200000
271 0:?     'dx' ( const float)
272 0:?       4.200000
273 0:?     'boundInst' (layout( binding=3 column_major shared) uniform block{layout( column_major shared) uniform int aoeu})
274 0:?     'anon@0' (layout( binding=7 column_major shared) uniform block{layout( column_major shared) uniform int aoeu})
275 0:?     'anon@1' (layout( binding=1) in block{ in int aoeua})
276 0:?     'anon@2' (layout( column_major shared) uniform block{layout( column_major shared) uniform int aooeu})
277 0:?     'sampb1' (layout( binding=4) uniform sampler2D)
278 0:?     'sampb2' (layout( binding=5) uniform 10-element array of sampler2D)
279 0:?     'sampb3' (layout( binding=80) uniform sampler2D)
280 0:?     'sampb4' (layout( binding=31) uniform sampler2D)
281 0:?     'sampb5' (layout( binding=79) uniform 2-element array of sampler2D)
282 0:?     'anon@3' ( out block{ out 4-element array of float ClipDistance gl_ClipDistance, })
283 0:?     'patchIn' ( patch in 4-component vector of float)
284 0:?     'patchOut' ( smooth patch out 4-component vector of float)
285 0:?     'comma0' ( temp int)
286 0:?     'comma1' ( global 1-element array of int)
287 0:?     'iimg2D' (layout( r32i) uniform iimage2D)
288 0:?     'iimg2Drgba' (layout( rgba32i) uniform iimage2D)
289 0:?     'img2Drgba' (layout( rgba32f) uniform image2D)
290 0:?     'uimg2D' (layout( r32ui) uniform uimage2D)
291 0:?     'img2DMS' ( uniform image2DMS)
292 0:?     'img2DMSWO' ( writeonly uniform image2DMS)
293 0:?     'vol' ( volatile temp float)
294 0:?     'vol2' ( readonly temp int)
295 0:?     'qualim1' (layout( r32i) coherent readonly uniform iimage2D)
296 0:?     'qualim2' (layout( r32i) coherent volatile readonly uniform iimage2D)
297 0:?     'i1bad' (layout( rg8i) uniform uimage2D)
298 0:?     'i2bad' (layout( rgba32i) uniform image2D)
299 0:?     'i3bad' (layout( rgba32f) uniform uimage2D)
300 0:?     'i4bad' (layout( r8_snorm) uniform iimage2D)
301 0:?     'i5bad' (layout( rgba32ui) uniform iimage2D)
302 0:?     'i6bad' (layout( r8ui) uniform iimage2D)
303 0:?     'offcheckI' (layout( column_major shared) uniform block{layout( column_major shared offset=16) uniform int foo})
304 0:?     'samp1D' ( uniform sampler1D)
305 0:?     'samp1Ds' ( uniform sampler1DShadow)
306 0:?     'badArray' (layout( binding=0) writeonly uniform implicitly-sized array of image1D)
307 0:?     'gl_VertexID' ( gl_VertexId int VertexId)
308 0:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
309
310
311 Linked vertex stage:
312
313
314 Shader version: 420
315 ERROR: node is still EOpNull!
316 0:32  Function Definition: main( ( global void)
317 0:32    Function Parameters: 
318 0:?     Sequence
319 0:35      Test condition and select ( temp void)
320 0:35        Condition
321 0:35        Compare Equal ( temp bool)
322 0:35          'i' ( temp int)
323 0:35          Constant:
324 0:35            3 (const int)
325 0:35        true case
326 0:36        Sequence
327 0:36          move second child to first child ( temp int)
328 0:36            'j' ( temp int)
329 0:36            'i' ( temp int)
330 0:42      Loop with condition tested first
331 0:42        Loop Condition
332 0:42        Constant:
333 0:42          true (const bool)
334 0:42        No loop body
335 0:?   Linker Objects
336 0:?     'v2' ( smooth out 2-component vector of float)
337 0:?     'bad' ( in 10-element array of 4-component vector of float)
338 0:?     'badorder' ( in 4-component vector of float)
339 0:?     'badorder2' ( invariant smooth out 4-component vector of float)
340 0:?     'badorder4' ( centroid in 4-component vector of float)
341 0:?     'badorder3' ( flat out 4-component vector of float)
342 0:?     'rep' ( smooth flat out 4-component vector of float)
343 0:?     'rep2' ( centroid smooth sample out 4-component vector of float)
344 0:?     'rep3' ( in 4-component vector of float)
345 0:?     'anonconst' ( global int)
346 0:?     'aconst' ( const int)
347 0:?       5 (const int)
348 0:?     'a' ( const int)
349 0:?       5 (const int)
350 0:?     'b' ( temp int)
351 0:?     'cx' ( const float)
352 0:?       4.200000
353 0:?     'dx' ( const float)
354 0:?       4.200000
355 0:?     'boundInst' (layout( binding=3 column_major shared) uniform block{layout( column_major shared) uniform int aoeu})
356 0:?     'anon@0' (layout( binding=7 column_major shared) uniform block{layout( column_major shared) uniform int aoeu})
357 0:?     'anon@1' (layout( binding=1) in block{ in int aoeua})
358 0:?     'anon@2' (layout( column_major shared) uniform block{layout( column_major shared) uniform int aooeu})
359 0:?     'sampb1' (layout( binding=4) uniform sampler2D)
360 0:?     'sampb2' (layout( binding=5) uniform 10-element array of sampler2D)
361 0:?     'sampb3' (layout( binding=80) uniform sampler2D)
362 0:?     'sampb4' (layout( binding=31) uniform sampler2D)
363 0:?     'sampb5' (layout( binding=79) uniform 2-element array of sampler2D)
364 0:?     'anon@3' ( out block{ out 4-element array of float ClipDistance gl_ClipDistance, })
365 0:?     'patchIn' ( patch in 4-component vector of float)
366 0:?     'patchOut' ( smooth patch out 4-component vector of float)
367 0:?     'comma0' ( temp int)
368 0:?     'comma1' ( global 1-element array of int)
369 0:?     'iimg2D' (layout( r32i) uniform iimage2D)
370 0:?     'iimg2Drgba' (layout( rgba32i) uniform iimage2D)
371 0:?     'img2Drgba' (layout( rgba32f) uniform image2D)
372 0:?     'uimg2D' (layout( r32ui) uniform uimage2D)
373 0:?     'img2DMS' ( uniform image2DMS)
374 0:?     'img2DMSWO' ( writeonly uniform image2DMS)
375 0:?     'vol' ( volatile temp float)
376 0:?     'vol2' ( readonly temp int)
377 0:?     'qualim1' (layout( r32i) coherent readonly uniform iimage2D)
378 0:?     'qualim2' (layout( r32i) coherent volatile readonly uniform iimage2D)
379 0:?     'i1bad' (layout( rg8i) uniform uimage2D)
380 0:?     'i2bad' (layout( rgba32i) uniform image2D)
381 0:?     'i3bad' (layout( rgba32f) uniform uimage2D)
382 0:?     'i4bad' (layout( r8_snorm) uniform iimage2D)
383 0:?     'i5bad' (layout( rgba32ui) uniform iimage2D)
384 0:?     'i6bad' (layout( r8ui) uniform iimage2D)
385 0:?     'offcheckI' (layout( column_major shared) uniform block{layout( column_major shared offset=16) uniform int foo})
386 0:?     'samp1D' ( uniform sampler1D)
387 0:?     'samp1Ds' ( uniform sampler1DShadow)
388 0:?     'badArray' (layout( binding=0) writeonly uniform 1-element array of image1D)
389 0:?     'gl_VertexID' ( gl_VertexId int VertexId)
390 0:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
391