Explorar el Código

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>
tags/i965-primitive-restart-v2
Alex Deucher hace 13 años
padre
commit
b8f7550a31
Se han modificado 1 ficheros con 0 adiciones y 7 borrados
  1. 0
    7
      src/gallium/drivers/r600/evergreen_state.c

+ 0
- 7
src/gallium/drivers/r600/evergreen_state.c Ver fichero

@@ -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:

Cargando…
Cancelar
Guardar