r600g: revert commit 36b322dffd2429130f132f55f68acb1a23ba1658 for now
authorChristian König <deathsimple@vodafone.de>
Sun, 22 May 2011 16:28:09 +0000 (18:28 +0200)
committerChristian König <deathsimple@vodafone.de>
Sun, 22 May 2011 16:28:09 +0000 (18:28 +0200)
Disable scaled textures, since they didn't work 100% right now.

src/gallium/drivers/r600/r600_state_inlines.h

index 39c6478..3254012 100644 (file)
@@ -372,7 +372,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. */
@@ -473,7 +472,6 @@ 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;