projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b496136
)
r600g: handle R16G16B16_FLOAT and R32G32B32_FLOAT in translate_colorswap (EG)
author
Marek Olšák
<maraeo@gmail.com>
Sat, 12 May 2012 15:35:42 +0000
(17:35 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sat, 12 May 2012 21:13:45 +0000
(23:13 +0200)
src/gallium/drivers/r600/evergreen_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/evergreen_state.c
b/src/gallium/drivers/r600/evergreen_state.c
index
1bc9d00
..
c28eeab
100644
(file)
--- 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. */