diff options
author | Henri Verbeet <hverbeet@gmail.com> | 2010-11-15 22:18:12 +0100 |
---|---|---|
committer | Henri Verbeet <hverbeet@gmail.com> | 2010-11-15 22:20:12 +0100 |
commit | 62fe9c4efc77d0b9310e5e265f285205a3f862dc (patch) | |
tree | c4fc17cc1803a8113999a73a66d3bb01ed32a3cd /src/gallium | |
parent | 228d0d1153d4d8314edc9361a1a8d237da28cd63 (diff) |
r600g: Add PIPE_FORMAT_L8A8_UNORM for Evergreen as well.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r600/eg_state_inlines.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/eg_state_inlines.h b/src/gallium/drivers/r600/eg_state_inlines.h index 5964197640..94a208442b 100644 --- a/src/gallium/drivers/r600/eg_state_inlines.h +++ b/src/gallium/drivers/r600/eg_state_inlines.h @@ -311,6 +311,7 @@ static inline uint32_t r600_translate_colorswap(enum pipe_format format) case PIPE_FORMAT_Z16_UNORM: return V_028C70_SWAP_STD; + case PIPE_FORMAT_L8A8_UNORM: case PIPE_FORMAT_R8G8_UNORM: return V_028C70_SWAP_STD; @@ -400,6 +401,7 @@ static INLINE uint32_t r600_translate_colorformat(enum pipe_format format) case PIPE_FORMAT_Z16_UNORM: return V_028C70_COLOR_16; + case PIPE_FORMAT_L8A8_UNORM: case PIPE_FORMAT_R8G8_UNORM: return V_028C70_COLOR_8_8; |