Commit c6ea4c0e authored by Henri Verbeet's avatar Henri Verbeet
Browse files

r600g: Fix the PIPE_FORMAT_A8_UNORM color swap for Evergreen as well.

parent 7a4599c6
...@@ -290,6 +290,7 @@ static inline uint32_t r600_translate_colorswap(enum pipe_format format) ...@@ -290,6 +290,7 @@ static inline uint32_t r600_translate_colorswap(enum pipe_format format)
switch (format) { switch (format) {
/* 8-bit buffers. */ /* 8-bit buffers. */
case PIPE_FORMAT_A8_UNORM: case PIPE_FORMAT_A8_UNORM:
return V_028C70_SWAP_ALT_REV;
case PIPE_FORMAT_I8_UNORM: case PIPE_FORMAT_I8_UNORM:
case PIPE_FORMAT_L8_UNORM: case PIPE_FORMAT_L8_UNORM:
case PIPE_FORMAT_R8_UNORM: case PIPE_FORMAT_R8_UNORM:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment