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