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 f980610f463e3bdb55d6150550bfdc555fdecaff..7d5c9e0a050a32b8a80588bf7cd68af7196c7264 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;