r600g: handle R16G16B16_FLOAT and R32G32B32_FLOAT in translate_colorswap
authorKai Wasserbäch <kai@dev.carbon-project.org>
Fri, 25 May 2012 14:27:08 +0000 (16:27 +0200)
committerMarek Olšák <maraeo@gmail.com>
Fri, 25 May 2012 18:41:01 +0000 (20:41 +0200)
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=50318

Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
src/gallium/drivers/r600/r600_state.c

index ed08fd6..124eba2 100644 (file)
@@ -281,6 +281,8 @@ static uint32_t r600_translate_colorswap(enum pipe_format format)
        case PIPE_FORMAT_R16G16_FLOAT:
        case PIPE_FORMAT_R16G16_UINT:
        case PIPE_FORMAT_R16G16_SINT:
+       case PIPE_FORMAT_R16G16B16_FLOAT:
+       case PIPE_FORMAT_R32G32B32_FLOAT:
        case PIPE_FORMAT_R32_UINT:
        case PIPE_FORMAT_R32_SINT:
        case PIPE_FORMAT_R32_FLOAT: