summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-05-12 17:35:42 +0200
committerMarek Olšák <[email protected]>2012-05-12 23:13:45 +0200
commitb2d63860860308f2e794dc506cdcde62cf936a46 (patch)
treef608ca20da92163e1593f5fbff6e81b85ec78b2d /src/gallium
parentb496136af84e396e7890082817b563dc53ac36fc (diff)
r600g: handle R16G16B16_FLOAT and R32G32B32_FLOAT in translate_colorswap (EG)
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/evergreen_state.c2
1 files changed, 2 insertions, 0 deletions
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. */