r600g: some merge fixes
authorChristian König <deathsimple@vodafone.de>
Sat, 4 Jun 2011 22:59:58 +0000 (00:59 +0200)
committerChristian König <deathsimple@vodafone.de>
Sat, 4 Jun 2011 22:59:58 +0000 (00:59 +0200)
src/gallium/drivers/r600/eg_state_inlines.h
src/gallium/drivers/r600/r600_state_inlines.h

index a2ba73febdd24ec7c2436b5a83062d5fc37b62f3..b780dba3e33d47dd926a4b965ebd1cb4f6e72aca 100644 (file)
@@ -377,7 +377,6 @@ static inline uint32_t r600_translate_colorswap(enum pipe_format format)
        case PIPE_FORMAT_R32G32_FLOAT:
        case PIPE_FORMAT_R16G16B16A16_UNORM:
        case PIPE_FORMAT_R16G16B16A16_SNORM:
-       case PIPE_FORMAT_R16G16B16A16_SSCALED:
        case PIPE_FORMAT_R16G16B16A16_FLOAT:
 
                /* 128-bit buffers. */
index 3254012ddf5687fa722c26fc620aa0e5e5043894..acd41a21214308c68ad2b5af77df2f318b3e2bcf 100644 (file)
@@ -455,8 +455,8 @@ static INLINE uint32_t r600_translate_colorformat(enum pipe_format format)
        case PIPE_FORMAT_S8_USCALED_Z24_UNORM:
                return V_0280A0_COLOR_24_8;
 
-       //case PIPE_FORMAT_R32_FLOAT:
-       //      return V_0280A0_COLOR_32_FLOAT;
+       case PIPE_FORMAT_R32_FLOAT:
+               return V_0280A0_COLOR_32_FLOAT;
 
        case PIPE_FORMAT_R16G16_FLOAT:
                return V_0280A0_COLOR_16_16_FLOAT;
@@ -472,6 +472,7 @@ static INLINE uint32_t r600_translate_colorformat(enum pipe_format format)
        case PIPE_FORMAT_R16G16B16_USCALED:
        case PIPE_FORMAT_R16G16B16A16_USCALED:
        case PIPE_FORMAT_R16G16B16_SSCALED:
+       case PIPE_FORMAT_R16G16B16A16_SSCALED:
        case PIPE_FORMAT_R16G16B16A16_UNORM:
        case PIPE_FORMAT_R16G16B16A16_SNORM:
                return V_0280A0_COLOR_16_16_16_16;