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 <alexander.deucher@amd.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user