perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git] / tests / spec / glsl-1.10 / execution / texture3D-computed-coord.shader_test
blob34b2e58b36b53978bbc99cda385bcf3d95dd758b
1 [require]
2 GLSL >= 1.10
4 [fragment shader]
5 uniform sampler3D tex3d;
6 void main()
8         vec3 coord = gl_TexCoord[0].xyz;
9         coord.y = 0.25;
10         coord.z = 0.75;
11         gl_FragColor = texture3D(tex3d, coord);
15 [test]
16 uniform int tex3d 0
17 texture rgbw 3D 0
18 draw rect tex -1 -1 2 2 0 0 1 1
19 relative probe rgba (0.25, 0.25) (1.0, 1.0, 0.0, 1.0)
20 relative probe rgba (0.75, 0.25) (1.0, 0.0, 1.0, 1.0)
21 relative probe rgba (0.25, 0.75) (1.0, 1.0, 0.0, 1.0)
22 relative probe rgba (0.75, 0.75) (1.0, 0.0, 1.0, 1.0)