summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-12-13 22:09:37 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-12-13 22:09:37 +0000
commit4d2abe1e3daac74747535d88dff34b024b87bbe9 (patch)
treedf14cd92fe90b36f51cc7df40bcf0006ecea7b3c
parentd428dbf7ad7c246acb1c301b73b9df4a1309de03 (diff)
downloadxf86-video-intel-4d2abe1e3daac74747535d88dff34b024b87bbe9.tar.gz
xf86-video-intel-4d2abe1e3daac74747535d88dff34b024b87bbe9.tar.bz2
xf86-video-intel-4d2abe1e3daac74747535d88dff34b024b87bbe9.zip
sna/gen3: Remove incorrect optimisation of an opaque source for CA
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/gen3_render.c7
1 files changed, 0 insertions, 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 |