From b2d63860860308f2e794dc506cdcde62cf936a46 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sat, 12 May 2012 17:35:42 +0200 Subject: [PATCH] r600g: handle R16G16B16_FLOAT and R32G32B32_FLOAT in translate_colorswap (EG) --- src/gallium/drivers/r600/evergreen_state.c | 2 ++ 1 file changed, 2 insertions(+) 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. */ -- 2.30.2