framework/replay: disable AA accounting when comparing with no tolerance
[piglit.git] / tests / spec / arb_draw_instanced / execution / draw-non-instanced.shader_test
blob357fe287bb20a5d468743521f0e015d8bfe8cbb0
1 [require]
2 GL_ARB_draw_instanced
3 GLSL >= 1.10
5 [vertex shader]
6 /* Verify that InstanceID is zero when drawing primitives using a
7  * non-instanced drawing function.
8  */
9 #extension GL_ARB_draw_instanced: require
11 varying vec4 color;
13 void main()
15   color = vec4(float(gl_InstanceIDARB),
16                1.0 - float(gl_InstanceIDARB),
17                0.0,
18                1.0);
19   gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
22 [fragment shader]
23 varying vec4 color;
25 void main()
27   gl_FragColor = color;
30 [test]
31 ortho
32 clear color 0.5 0.5 0.5 0.5
33 clear
35 draw rect 10 10 10 10
36 probe rgb 15 15 0 1 0
38 draw rect 30 10 10 10
39 probe rgb 35 15 0 1 0
41 draw rect 50 10 10 10
42 probe rgb 55 15 0 1 0