mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
i915g: don't set alpha to 1 for RGBX and BGRX
This patch fixes regression introduced in
1f3c5eae5c
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
fc144728c7
commit
8265bb7fb8
1 changed files with 1 additions and 2 deletions
|
|
@ -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 */},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue