framework/replay: disable AA accounting when comparing with no tolerance
[piglit.git] / tests / spec / arb_fragment_program_shadow / txp-shadow2drect.shader_test
blob30d4b77f18f87216a446866acb95a2868a157436
1 [require]
2 GL_ARB_texture_rectangle
3 GL_ARB_fragment_program_shadow
5 [vertex program]
6 !!ARBvp1.0
7 TEMP texcoord;
9 ADD texcoord.xyz, vertex.position.xyyy, {1}.x;
10 MUL texcoord.xy, texcoord, {32}.x;
11 MUL texcoord.z, texcoord, {1.0}.x;
12 MOV texcoord.w, {2}.x;
14 MOV result.position, vertex.position;
15 MOV result.texcoord[0], texcoord;
16 END
18 [fragment program]
19 !!ARBfp1.0
20 OPTION ARB_fragment_program_shadow;
21 TXP result.color, fragment.texcoord[0], texture[0], SHADOWRECT;
22 END
24 [test]
25 texture shadowRect 0 (32, 32)
26 texparameter Rect depth_mode luminance
27 texparameter Rect compare_func greater
28 draw rect -1 -1 2 2
30 # depth comparison pass
31 relative probe rgba (0.0, 0.1) (1.0, 1.0, 1.0, 1.0)
32 relative probe rgba (0.9, 1.0) (1.0, 1.0, 1.0, 1.0)
34 # depth comparison fail
35 relative probe rgba (0.1, 0.0) (0.0, 0.0, 0.0, 1.0)
36 relative probe rgba (1.0, 0.9) (0.0, 0.0, 0.0, 1.0)