From: Michel Dänzer Date: Fri, 25 Jan 2013 15:04:37 +0000 (+0100) Subject: radeonsi: Remove spurious traces of R16G16B16 support. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6455d40b7ec09e3a3923c9b78952dc29627afed1;p=mesa.git radeonsi: Remove spurious traces of R16G16B16 support. 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. --- diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index aba44dfc06e..e81079edb56 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -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;