summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorHenri Verbeet <hverbeet@gmail.com>2010-11-15 22:18:12 +0100
committerHenri Verbeet <hverbeet@gmail.com>2010-11-15 22:20:12 +0100
commit62fe9c4efc77d0b9310e5e265f285205a3f862dc (patch)
treec4fc17cc1803a8113999a73a66d3bb01ed32a3cd /src/gallium/drivers
parent228d0d1153d4d8314edc9361a1a8d237da28cd63 (diff)
r600g: Add PIPE_FORMAT_L8A8_UNORM for Evergreen as well.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/eg_state_inlines.h2
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;