aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2012-01-27 18:42:39 -0500
committerAlex Deucher <[email protected]>2012-01-27 18:46:03 -0500
commitb8f7550a31aabd3e00d2f822bc2587304e676fde (patch)
treeb480891bc938666dbc4bdc8eb475569d2500212e
parent3409118371b26b534ea64a96ae051392691769f7 (diff)
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 <[email protected]>
-rw-r--r--src/gallium/drivers/r600/evergreen_state.c7
1 files changed, 0 insertions, 7 deletions
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: