diff options
author | Kai Wasserbäch <[email protected]> | 2012-05-25 16:27:08 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-05-25 20:41:01 +0200 |
commit | 2df2c31087770a6e4e79f90fe096e370cd632e00 (patch) | |
tree | 48a9162fb5ffe15d92a95ca8683c317d8ec65a0f /src/gallium | |
parent | 1609efb4180659322557380550d17ed7adb8eae2 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/r600/r600_state.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: |