summaryrefslogtreecommitdiffstats
path: root/tests/array-12.glsl
blob: 7fc9579452f14207afb5d0a48b7f16ca885a0d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
#version 120
/* FAIL - array must have an implicit or explicit size */

void main()
{
  vec4 a[];

  a = vec4 [2] (vec4(1.0), vec4(2.0));

  gl_Position = gl_Vertex;
}