mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
r600g: Fix the PIPE_FORMAT_A8_UNORM color swap for Evergreen as well.
This commit is contained in:
parent
7a4599c6f5
commit
c6ea4c0e8a
1 changed files with 1 additions and 0 deletions
|
|
@ -290,6 +290,7 @@ static inline uint32_t r600_translate_colorswap(enum pipe_format format)
|
|||
switch (format) {
|
||||
/* 8-bit buffers. */
|
||||
case PIPE_FORMAT_A8_UNORM:
|
||||
return V_028C70_SWAP_ALT_REV;
|
||||
case PIPE_FORMAT_I8_UNORM:
|
||||
case PIPE_FORMAT_L8_UNORM:
|
||||
case PIPE_FORMAT_R8_UNORM:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue