diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-11-30 11:03:32 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-11-30 11:14:26 +0000 |
commit | b118a52cd1a006321571967bd5f6c2a9e674de3a (patch) | |
tree | 9060f027a47e6ce991fde77eb3f7ecc4f88682da | |
parent | 5e04ded2bce4c135b57d391f5f4e24e030103e61 (diff) |
i915: Remove routing of alpha channel to green.
This modification is redundant since the routing is done in the blend
unit anyway.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/i915_render.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/i915_render.c b/src/i915_render.c index 438edccd..0a260f30 100644 --- a/src/i915_render.c +++ b/src/i915_render.c @@ -382,12 +382,6 @@ i915_prepare_composite(int op, PicturePtr source_picture, PICT_a8r8g8b8, &intel->render_source_solid)) return FALSE; - - /* route alpha to the green channel when using a8 targets */ - if (dest_picture->format == PICT_a8) { - intel->render_source_solid >>= 24; - intel->render_source_solid *= 0x01010101; - } } else if (!intel_check_pitch_3d(source)) return FALSE; @@ -405,12 +399,6 @@ i915_prepare_composite(int op, PicturePtr source_picture, PICT_a8r8g8b8, &intel->render_mask_solid)) return FALSE; - - /* route alpha to the green channel when using a8 targets */ - if (dest_picture->format == PICT_a8) { - intel->render_mask_solid >>= 24; - intel->render_mask_solid *= 0x01010101; - } } else if (!intel_check_pitch_3d(mask)) return FALSE; } |