From 4d2abe1e3daac74747535d88dff34b024b87bbe9 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 13 Dec 2012 22:09:37 +0000 Subject: sna/gen3: Remove incorrect optimisation of an opaque source for CA Signed-off-by: Chris Wilson --- src/sna/gen3_render.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c index f203e7ec1..51ace78e5 100644 --- a/src/sna/gen3_render.c +++ b/src/sna/gen3_render.c @@ -929,13 +929,6 @@ gen3_composite_emit_shader(struct sna *sna, if (mask->u.gen3.type == SHADER_NONE) mask = NULL; - if (mask && src->is_opaque && - gen3_blend_op[blend].src_alpha && - op->has_component_alpha) { - src = mask; - mask = NULL; - } - id = (src->u.gen3.type | src->is_affine << 4 | src->alpha_fixup << 5 | -- cgit v1.2.3