perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git] / tests / spec / glsl-1.10 / execution / glsl-fs-neg.shader_test
blob1d8aa817fc6c0bc22a312a37ee6a00c3627e2c7b
1 [require]
2 GLSL >= 1.10
4 [vertex shader]
5 void main()
7         gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
10 [fragment shader]
11 uniform vec4 color;
12 void main()
14         gl_FragColor = -color;
17 [test]
18 uniform vec4 color 1.0 -1.0 0.0 0.0
19 draw rect -1 -1 2 2
20 probe rgb 1 1 0.0 1.0 0.0