perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git] / tests / spec / glsl-1.10 / execution / texture2D-computed-coordinate.shader_test
blob0074434226cebd6bc2c0ca5a41459c6663a7e4fe
1 [require]
2 GLSL >= 1.10
4 [fragment shader]
5 uniform sampler2D tex2d;
6 void main()
8         vec2 coord = gl_TexCoord[0].xy + vec2(0.5);
9         gl_FragColor = texture2D(tex2d, coord, 0.0);
13 [test]
14 texture rgbw 0 (8, 8)
15 uniform int tex2d 0
16 draw rect tex -1 -1 2 2 0 0 1 1
17 relative probe rgba (0.5, 0.5) (1.0, 1.0, 1.0, 1.0)