The expected destination color needs to vary by op in the same way as for the base ops. Takes us from 1170 tests passed of 1710 total to 1710/1710 on Xvfb.
Signed-off-by: Adam Jackson <[email protected]> --- t_triangles.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/t_triangles.c b/t_triangles.c index 05f98d8..9fbbf1e 100644 --- a/t_triangles.c +++ b/t_triangles.c @@ -36,6 +36,12 @@ static void get_dest_color (int op, color4d *in, color4d *out) { + if (op >= PictOpConjointMinimum && op <= PictOpConjointMaximum) + op -= PictOpConjointMinimum; + + if (op >= PictOpDisjointMinimum && op <= PictOpDisjointMaximum) + op -= PictOpDisjointMinimum; + switch (op) { case PictOpSrc: case PictOpClear: -- 2.5.0 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel
