From: Alex Deucher Date: Fri, 27 Jan 2012 23:42:39 +0000 (-0500) Subject: r600g: remove unsupported evergreen CB formats X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8f7550a31aabd3e00d2f822bc2587304e676fde;p=mesa.git r600g: remove unsupported evergreen CB formats The evergreen+ CB no longer supports the following formats compared to 6xx/7xx: - COLOR_4_4 - COLOR_3_3_2 - COLOR_6_5_5 - COLOR_8_24_FLOAT - COLOR_24_8_FLOAT - COLOR_11_11_10 - COLOR_11_11_10_FLOAT Signed-off-by: Alex Deucher --- diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index 69e3be967f4..3bec748661a 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -417,11 +417,6 @@ static uint32_t r600_translate_colorformat(enum pipe_format format) { switch (format) { /* 8-bit buffers. */ - case PIPE_FORMAT_L4A4_UNORM: - case PIPE_FORMAT_R4A4_UNORM: - case PIPE_FORMAT_A4R4_UNORM: - return V_028C70_COLOR_4_4; - case PIPE_FORMAT_A8_UNORM: case PIPE_FORMAT_A8_UINT: case PIPE_FORMAT_A8_SINT: @@ -579,8 +574,6 @@ static uint32_t r600_colorformat_endian_swap(uint32_t colorformat) { if (R600_BIG_ENDIAN) { switch(colorformat) { - case V_028C70_COLOR_4_4: - return ENDIAN_NONE; /* 8-bit buffers. */ case V_028C70_COLOR_8: