r600g: add missing type to color buffer swap.
authorDave Airlie <airlied@redhat.com>
Thu, 17 Feb 2011 00:24:15 +0000 (10:24 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 17 Feb 2011 00:27:09 +0000 (10:27 +1000)
src/gallium/drivers/r600/r600_state_inlines.h

index f980610..7d5c9e0 100644 (file)
@@ -332,6 +332,7 @@ static inline uint32_t r600_translate_colorswap(enum pipe_format format)
        case PIPE_FORMAT_X8R8G8B8_UNORM:
                return V_0280A0_SWAP_ALT_REV;
        case PIPE_FORMAT_R8G8B8A8_SNORM:
+       case PIPE_FORMAT_R8G8B8A8_UNORM:
        case PIPE_FORMAT_R8G8B8X8_UNORM:
                return V_0280A0_SWAP_STD;