framework/replay: disable AA accounting when comparing with no tolerance
[piglit.git] / tests / spec / arb_arrays_of_arrays / execution / ubo / fs-const.shader_test
blob81d48a0083c006141a9614fd8930568153a32ba1
1 # This test verifies that uniform indexing of UBO arrays in the
2 # fragment shader behaves correctly, when the block member is a
3 # const-indexed array.
5 [require]
6 GLSL >= 1.50
7 GL_ARB_arrays_of_arrays
9 [vertex shader passthrough]
11 [fragment shader]
12 #version 150
13 #extension GL_ARB_arrays_of_arrays: require
15 uniform block {
16         vec4 color[2];
17 } arr[4][2];
19 uniform int n;
21 out vec4 color;
23 void main()
25         color = arr[3][0].color[1] + arr[1][1].color[0];
28 [test]
29 clear color 0.2 0.2 0.2 0.2
30 clear
32 ubo array index 3
33 uniform vec4 block.color[0] 0.0 1.0 0.0 0.0
34 uniform vec4 block.color[1] 1.0 0.0 0.0 0.0
36 ubo array index 6
37 uniform vec4 block.color[0] 1.0 0.0 0.0 0.0
38 uniform vec4 block.color[1] 0.0 0.0 1.0 0.0
40 draw rect -1 -1 1 1
41 relative probe rect rgb (0.0, 0.0, 0.5, 0.5) (0.0, 1.0, 1.0)