From: Henri Verbeet Date: Mon, 15 Nov 2010 21:18:12 +0000 (+0100) Subject: r600g: Add PIPE_FORMAT_L8A8_UNORM for Evergreen as well. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=62fe9c4efc77d0b9310e5e265f285205a3f862dc;p=mesa.git r600g: Add PIPE_FORMAT_L8A8_UNORM for Evergreen as well. --- diff --git a/src/gallium/drivers/r600/eg_state_inlines.h b/src/gallium/drivers/r600/eg_state_inlines.h index 59641976403..94a208442b9 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;