From: José Fonseca Date: Mon, 1 Mar 2010 15:14:00 +0000 (+0000) Subject: r300: Don't implement PIPE_FORMAT_R8G8B8X8_SNORM. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3a26193fd58e3cde277f63dcb9ea049a82860398;p=mesa.git r300: Don't implement PIPE_FORMAT_R8G8B8X8_SNORM. This format is not actually used by any state tracker. Probably the reverse notation was mean, which would make it identical to PIPE_FORMAT_X8B8G8R8_SNORM. --- diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c index 2246c75056c..181711b3d24 100644 --- a/src/gallium/drivers/r300/r300_texture.c +++ b/src/gallium/drivers/r300/r300_texture.c @@ -329,7 +329,6 @@ static uint32_t r300_translate_colorformat(enum pipe_format format) case PIPE_FORMAT_R8G8B8A8_SRGB: case PIPE_FORMAT_R8G8B8X8_UNORM: case PIPE_FORMAT_R8G8B8X8_SRGB: - case PIPE_FORMAT_R8G8B8X8_SNORM: case PIPE_FORMAT_A8B8G8R8_SNORM: case PIPE_FORMAT_X8B8G8R8_SNORM: case PIPE_FORMAT_X8UB8UG8SR8S_NORM: @@ -463,7 +462,6 @@ static uint32_t r300_translate_out_fmt(enum pipe_format format) case PIPE_FORMAT_R8G8B8A8_SRGB: case PIPE_FORMAT_R8G8B8X8_UNORM: case PIPE_FORMAT_R8G8B8X8_SRGB: - case PIPE_FORMAT_R8G8B8X8_SNORM: return modifier | R300_C0_SEL_A | R300_C1_SEL_B | R300_C2_SEL_G | R300_C3_SEL_R;