projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0096df
)
radeonsi: Handle PIPE_FORMAT_L32A32_S/UINT for rendering.
author
Michel Dänzer
<michel.daenzer@amd.com>
Tue, 22 Jan 2013 16:46:32 +0000
(17:46 +0100)
committer
Michel Dänzer
<michel@daenzer.net>
Thu, 24 Jan 2013 07:46:31 +0000
(08:46 +0100)
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state.c
b/src/gallium/drivers/radeonsi/si_state.c
index a27dbdd775e8c8c12b73759db920c93b504d2643..aba44dfc06e299b4ba553629ff15100d13419232 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state.c
+++ b/
src/gallium/drivers/radeonsi/si_state.c
@@
-817,6
+817,8
@@
static uint32_t si_translate_colorformat(enum pipe_format format)
return V_028C70_COLOR_16_16_16_16;
case PIPE_FORMAT_L32A32_FLOAT:
+ case PIPE_FORMAT_L32A32_UINT:
+ case PIPE_FORMAT_L32A32_SINT:
case PIPE_FORMAT_R32G32_FLOAT:
case PIPE_FORMAT_R32G32_USCALED:
case PIPE_FORMAT_R32G32_SSCALED:
@@
-1003,6
+1005,8
@@
static uint32_t si_translate_colorswap(enum pipe_format format)
return V_028C70_SWAP_STD;
case PIPE_FORMAT_L32A32_FLOAT:
+ case PIPE_FORMAT_L32A32_UINT:
+ case PIPE_FORMAT_L32A32_SINT:
return V_028C70_SWAP_ALT;
/* 128-bit buffers. */