framework/replay: disable AA accounting when comparing with no tolerance
[piglit.git] / tests / spec / arb_bindless_texture / execution / samplers / basic-arithmetic-uvec2-texture2D.shader_test
blob4d644b044e19a7275441d793e180cfb7b2aa58fd
1 # Same as basic-texture2D.shader_test, but with some math on the handle
2 [require]
3 GL >= 3.3
4 GLSL >= 3.30
5 GL_ARB_bindless_texture
7 [vertex shader passthrough]
9 [fragment shader]
10 #version 330
11 #extension GL_ARB_bindless_texture: require
13 layout (bindless_sampler) uniform sampler2D tex;
14 uniform uvec2 handleOffset;
16 out vec4 finalColor;
18 void main()
20         sampler2D fixedTex;
22         uvec2 handle = uvec2(tex);
23         handle.x -= 0x12345678u;
24         handle.y -= 0x9abcdef0u;
26         fixedTex = sampler2D(handle + handleOffset);
28         finalColor = texture2D(fixedTex, vec2(0, 0));
31 [test]
32 texture rgbw 0 (16, 16)
33 resident texture 0
34 uniform uvec2 handleOffset 0x12345678 0x9abcdef0
35 uniform handle tex 0
36 draw rect -1 -1 2 2
37 relative probe rgb (0.0, 0.0) (1.0, 0.0, 0.0)