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 39c647835a6332cd4ca12e39a7000e10673af6ff..3254012ddf5687fa722c26fc620aa0e5e5043894 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;