projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
726fe54
)
radeonsi: Re-enable Z16 depth buffers.
author
Michel Dänzer
<michel.daenzer@amd.com>
Fri, 16 Nov 2012 16:18:05 +0000
(17:18 +0100)
committer
Michel Dänzer
<michel@daenzer.net>
Wed, 28 Nov 2012 12:53:54 +0000
(13:53 +0100)
8 more piglits.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@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 95ea8606053cad08fdd0966b6015faa6b0a06067..f7c80a26de5b53c57303f2aa7018bb807538408c 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state.c
+++ b/
src/gallium/drivers/radeonsi/si_state.c
@@
-1100,8
+1100,8
@@
static unsigned si_colorformat_max_comp_size(uint32_t colorformat)
static uint32_t si_translate_dbformat(enum pipe_format format)
{
switch (format) {
-
//
case PIPE_FORMAT_Z16_UNORM:
-
//
return V_028040_Z_16;
+ case PIPE_FORMAT_Z16_UNORM:
+
return V_028040_Z_16;
case PIPE_FORMAT_Z24X8_UNORM:
case PIPE_FORMAT_Z24_UNORM_S8_UINT:
return V_028040_Z_24; /* XXX no longer supported on SI */