r600g: handle R16G16B16_FLOAT and R32G32B32_FLOAT in translate_colorswap (EG)
authorMarek Olšák <maraeo@gmail.com>
Sat, 12 May 2012 15:35:42 +0000 (17:35 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 12 May 2012 21:13:45 +0000 (23:13 +0200)
src/gallium/drivers/r600/evergreen_state.c

index 1bc9d00801fedd0ad5f4c9d820cec9fcfcd6dbd8..c28eeabe79e89e7517b20517dac31f1a92b401f9 100644 (file)
@@ -337,6 +337,8 @@ static uint32_t r600_translate_colorswap(enum pipe_format format)
        case PIPE_FORMAT_R16G16_SNORM:
        case PIPE_FORMAT_R16G16_UINT:
        case PIPE_FORMAT_R16G16_SINT:
+       case PIPE_FORMAT_R16G16B16_FLOAT:
+       case PIPE_FORMAT_R32G32B32_FLOAT:
                return V_028C70_SWAP_STD;
 
        /* 64-bit buffers. */