perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git] / tests / spec / glsl-1.10 / execution / glsl-fs-implicit-array-size-01.shader_test
blobffa93725b0d56927a2b14f0cf280689a858a3e19
1 [require]
2 # This test reproduces Mesa bugzilla #33219.
3 GLSL >= 1.10
5 [fragment shader]
6 float a[];
7 void myfunc()
9         a[5] = 0.0;
10         gl_FragColor = vec4(a[5], 0, 0, 1.0);
13 [fragment shader]
14 float a[];
15 void myfunc();
16 void main()
18         myfunc();
21 [test]
22 draw rect -1 -1 2 2
23 probe all rgba 0 0 0 1.0