From: Kai Wasserbäch Date: Fri, 25 May 2012 14:27:08 +0000 (+0200) Subject: r600g: handle R16G16B16_FLOAT and R32G32B32_FLOAT in translate_colorswap X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2df2c31087770a6e4e79f90fe096e370cd632e00;p=mesa.git r600g: handle R16G16B16_FLOAT and R32G32B32_FLOAT in translate_colorswap Fixes https://bugs.freedesktop.org/show_bug.cgi?id=50318 Signed-off-by: Kai Wasserbäch --- diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index ed08fd698c0..124eba29731 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -281,6 +281,8 @@ static uint32_t r600_translate_colorswap(enum pipe_format format) case PIPE_FORMAT_R16G16_FLOAT: case PIPE_FORMAT_R16G16_UINT: case PIPE_FORMAT_R16G16_SINT: + case PIPE_FORMAT_R16G16B16_FLOAT: + case PIPE_FORMAT_R32G32B32_FLOAT: case PIPE_FORMAT_R32_UINT: case PIPE_FORMAT_R32_SINT: case PIPE_FORMAT_R32_FLOAT: