From 8265bb7fb87184104e3c97dbf480170fb69ff8ad Mon Sep 17 00:00:00 2001 From: Vasily Khoruzhick Date: Wed, 23 Nov 2011 13:27:24 +0300 Subject: [PATCH] i915g: don't set alpha to 1 for RGBX and BGRX This patch fixes regression introduced in 1f3c5eae5c4be582e50c2d4d7950424d86059c45 Signed-off-by: Vasily Khoruzhick Signed-off-by: Daniel Vetter --- src/gallium/drivers/i915/i915_state_static.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/drivers/i915/i915_state_static.c b/src/gallium/drivers/i915/i915_state_static.c index 64b842a9f76..f41c32eaeab 100644 --- a/src/gallium/drivers/i915/i915_state_static.c +++ b/src/gallium/drivers/i915/i915_state_static.c @@ -169,8 +169,7 @@ static const struct uint hw_swizzle; } fixup_formats[] = { { PIPE_FORMAT_R8G8B8A8_UNORM, 0x21030000 /* BGRA */}, - { PIPE_FORMAT_B8G8R8X8_UNORM, 0x01250000 /* RGBX */}, - { PIPE_FORMAT_R8G8B8X8_UNORM, 0x21050000 /* BGRX */}, + { PIPE_FORMAT_R8G8B8X8_UNORM, 0x21030000 /* BGRX */}, { PIPE_FORMAT_L8_UNORM, 0x00030000 /* RRRA */}, { PIPE_FORMAT_I8_UNORM, 0x00030000 /* RRRA */}, { PIPE_FORMAT_A8_UNORM, 0x33330000 /* AAAA */}, -- 2.30.2