projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1609efb
)
r600g: handle R16G16B16_FLOAT and R32G32B32_FLOAT in translate_colorswap
author
Kai Wasserbäch
<kai@dev.carbon-project.org>
Fri, 25 May 2012 14:27:08 +0000
(16:27 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 25 May 2012 18:41:01 +0000
(20:41 +0200)
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=50318
Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
src/gallium/drivers/r600/r600_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_state.c
b/src/gallium/drivers/r600/r600_state.c
index ed08fd698c0c13c4dc03db4c8f8fec90cfd63b9b..124eba29731e22d07fe4ab16bffddb19bda9ff4d 100644
(file)
--- 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: