repo.or.cz
/
piglit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ext_gpu_shader4: add compiler tests for everything
[piglit.git]
/
tests
/
spec
/
glsl-es-3.00
/
compiler
/
no-unsized-arrays-02.vert
blob
b08683b370ce4305b36749881d06f319c73f7cf9
1
#version 300 es
2
3
/* [config]
4
* expect_result: fail
5
* glsl_version: 3.00
6
* [end config]
7
*
8
* Page 35 of the OpenGL ES Shading Language 3.00 spec says:
9
*
10
* "An array declaration which leaves the size unspecified is an
11
* error."
12
*/
13
14
void main()
15
{
16
float a[];
17
18
gl_Position = vec4(0.);
19
}