radeonsi: Remove spurious traces of R16G16B16 support.
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 25 Jan 2013 15:04:37 +0000 (16:04 +0100)
committerMichel Dänzer <michel@daenzer.net>
Mon, 4 Feb 2013 16:03:26 +0000 (17:03 +0100)
The hardware can't do it, and these were causing warnings in some piglit tests.

NOTE: This is a candidate for the 9.1 branch.

src/gallium/drivers/radeonsi/si_state.c

index aba44dfc06e299b4ba553629ff15100d13419232..e81079edb56473167dbd577438819b18f3e2043b 100644 (file)
@@ -804,15 +804,12 @@ static uint32_t si_translate_colorformat(enum pipe_format format)
                return V_028C70_COLOR_10_11_11;
 
        /* 64-bit buffers. */
-       case PIPE_FORMAT_R16G16B16_USCALED:
-       case PIPE_FORMAT_R16G16B16_SSCALED:
        case PIPE_FORMAT_R16G16B16A16_UINT:
        case PIPE_FORMAT_R16G16B16A16_SINT:
        case PIPE_FORMAT_R16G16B16A16_USCALED:
        case PIPE_FORMAT_R16G16B16A16_SSCALED:
        case PIPE_FORMAT_R16G16B16A16_UNORM:
        case PIPE_FORMAT_R16G16B16A16_SNORM:
-       case PIPE_FORMAT_R16G16B16_FLOAT:
        case PIPE_FORMAT_R16G16B16A16_FLOAT:
                return V_028C70_COLOR_16_16_16_16;