framework/replay: disable AA accounting when comparing with no tolerance
[piglit.git] / tests / spec / ext_texture_array / render-1darray.shader_test
blob74b61546d8f7d09c9a337233d51aabc421968d27
1 # Test GL_TEXTURE_1D_ARRAY texture with four layers
2 [require]
3 GLSL >= 1.10
4 GL_EXT_texture_array
6 [vertex shader]
7 #version 110
8 varying vec4 texcoords;
9 void main() {
10         gl_Position = gl_Vertex;
11         texcoords = (gl_Vertex + 1.0) / 2.0;
14 [fragment shader]
15 #version 110
16 #extension GL_EXT_texture_array : enable
17 varying vec4 texcoords;
18 uniform sampler1DArray tex;
19 uniform float layer;
21 void main()
23         vec2 p = vec2(texcoords.x, layer);
24         gl_FragColor = texture1DArray(tex, p);
27 [test]
28 uniform int tex 0
29 texture rgbw 1DArray 0 ( 64 , 4 )
31 uniform float layer 0
32 draw rect -1 -1 2 2
33 relative probe rgba (0.5, 0.5) (1.0, 0.0, 0.0, 1.0)
35 uniform float layer 1
36 draw rect -1 -1 2 2
37 relative probe rgba (0.5, 0.5) (0.0, 1.0, 0.0, 1.0)
39 uniform float layer 2
40 draw rect -1 -1 2 2
41 relative probe rgba (0.5, 0.5) (0.0, 0.0, 1.0, 1.0)
43 uniform float layer 3
44 draw rect -1 -1 2 2
45 relative probe rgba (0.5, 0.5) (1.0, 1.0, 1.0, 1.0)