framework/replay: disable AA accounting when comparing with no tolerance
[piglit.git] / tests / spec / arb_bindless_texture / execution / samplers / sampler-vertex-attrib-input-output.shader_test
blob00005187bfb365190cb7fc06c8c5dfb41b23abdd
1 # In this test, the sampler to use is selected in a vertex shader, passed
2 # to the fragment shader as a (flat) input, and then used for a texture
3 # lookup.
4 [require]
5 GL >= 3.3
6 GLSL >= 3.30
7 GL_ARB_bindless_texture
9 [vertex shader]
10 #version 330
11 #extension GL_ARB_bindless_texture: require
13 in sampler2D tex;
14 in vec4 piglit_vertex;
16 flat out sampler2D sampler_vs;
18 void main()
20         gl_Position = piglit_vertex;
21         sampler_vs = tex;
24 [fragment shader]
25 #version 330
26 #extension GL_ARB_bindless_texture: require
28 flat in sampler2D sampler_vs;
29 out vec4 color;
31 void main()
33         color = texture2D(sampler_vs, vec2(0, 0));
36 [test]
37 texture rgbw 0 (16, 16)
38 resident texture 0
39 vertex attrib handle tex 0
40 draw rect -1 -1 2 2
41 relative probe rgb (0.0, 0.0) (1.0, 0.0, 0.0)