From: Marek Olšák Date: Sat, 12 May 2012 15:35:42 +0000 (+0200) Subject: r600g: handle R16G16B16_FLOAT and R32G32B32_FLOAT in translate_colorswap (EG) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2d63860860308f2e794dc506cdcde62cf936a46;p=mesa.git r600g: handle R16G16B16_FLOAT and R32G32B32_FLOAT in translate_colorswap (EG) --- diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index 1bc9d00801f..c28eeabe79e 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -337,6 +337,8 @@ static uint32_t r600_translate_colorswap(enum pipe_format format) case PIPE_FORMAT_R16G16_SNORM: case PIPE_FORMAT_R16G16_UINT: case PIPE_FORMAT_R16G16_SINT: + case PIPE_FORMAT_R16G16B16_FLOAT: + case PIPE_FORMAT_R32G32B32_FLOAT: return V_028C70_SWAP_STD; /* 64-bit buffers. */