019aa21150fd43fb90c47ff23a225527aaf0b99e
[platform/upstream/mesa.git] / tests / array-10.glsl
1 /* FAIL - array constructors forbidden in GLSL 1.10
2  *
3  * This can also generate an error because the 'vec4[]' style syntax is
4  * illegal in GLSL 1.10.
5  */
6 void main()
7 {
8   vec4 a[2] = vec4 [2] (vec4(1.0), vec4(2.0));
9
10   gl_Position = gl_Vertex;
11 }