glsl-1.10: move a whole bunch shader tests to the glsl-1.10 dir
[piglit.git] / tests / shaders / link-uniform-array-size.shader_test
blobcaebb9298ba32d3cdd80d49c34ac37216b4af905
1 [require]
2 GLSL >= 1.20
4 [vertex shader]
6 void main()
8         gl_Position = gl_Vertex;
11 [fragment shader]
12 #version 120
13 uniform vec4 a[3];
15 void main()
17         vec4 b[3] = a;
19         gl_FragColor = b[2];
22 [test]
23 uniform vec4 a[2] 0.0 1.0 0.0 0.0
24 draw rect -1 -1 2 2
25 probe all rgba 0.0 1.0 0.0 0.0