perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git] / tests / spec / glsl-1.10 / execution / glsl-fs-functions-4.shader_test
blob36cb246581a8b41a0352c40ea04094ede7a39ba8
1 [require]
2 GLSL >= 1.10
4 [vertex shader]
5 void main()
7         gl_Position = gl_Vertex;
10 [fragment shader]
11 void do_nothing()
13         return;
16 void main()
18         do_nothing();
19         gl_FragColor = vec4(0.0, 1.0, 0.0, 0.0);
22 [test]
23 draw rect -1 -1 2 2
24 probe all rgb 0.0 1.0 0.0 0.0