framework/replay: disable AA accounting when comparing with no tolerance
[piglit.git] / tests / spec / arb_bindless_texture / execution / samplers / ubo-named-block.shader_test
blob5c3c4785f8b473da8c8038ee82591f9e71de2c30
1 # Test access to a uniform buffer object via dereferencing the block name,
2 # where it has a structure which contains a bindless sampler.
3 [require]
4 GL >= 3.3
5 GLSL >= 3.30
6 GL_ARB_bindless_texture
8 [vertex shader passthrough]
10 [fragment shader]
11 #version 330
12 #extension GL_ARB_bindless_texture: require
13 #extension GL_ARB_uniform_buffer_object: enable
15 struct Struct {
16         uvec2 coord;
17         sampler2D tex;
20 layout (std140) uniform Block {
21         Struct s;
22 } block;
24 out vec4 color;
26 void main()
28         color = texture2D(block.s.tex, block.s.coord);
31 [test]
32 texture rgbw 0 (16, 16)
33 resident texture 0
34 uniform uvec2 Block.s.coord 0 0
35 uniform handle Block.s.tex 0
36 draw rect -1 -1 2 2
37 relative probe rgb (0.0, 0.0) (1.0, 0.0, 0.0)