diff options
author | Henri Verbeet <hverbeet@gmail.com> | 2010-11-27 17:29:56 +0100 |
---|---|---|
committer | Henri Verbeet <hverbeet@gmail.com> | 2010-11-27 17:40:47 +0100 |
commit | c6ea4c0e8a6aa84a590ae63da3eb06c08c7356ed (patch) | |
tree | 5c9289b1d8856068967506598f4c6268449d33ae /src/gallium/drivers/r600 | |
parent | 7a4599c6f5596e55b55a04817d812c6ff70f69d3 (diff) |
r600g: Fix the PIPE_FORMAT_A8_UNORM color swap for Evergreen as well.
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/eg_state_inlines.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/eg_state_inlines.h b/src/gallium/drivers/r600/eg_state_inlines.h index b47ca5d62d..ecea1db4f1 100644 --- a/src/gallium/drivers/r600/eg_state_inlines.h +++ b/src/gallium/drivers/r600/eg_state_inlines.h @@ -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: |