diff options
author | Michel Dänzer <[email protected]> | 2012-11-16 17:18:05 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2012-11-28 13:53:54 +0100 |
commit | a8d46d017389c287db3e7062e8fdffbbef2ae50d (patch) | |
tree | e23d5a1dfe2e647290f9d75434773368b93c855a /src/gallium/drivers/radeonsi/si_state.c | |
parent | 726fe54cbc2ebe333977f1010bcccc74e7a859d4 (diff) |
radeonsi: Re-enable Z16 depth buffers.
8 more piglits.
Signed-off-by: Michel Dänzer <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 95ea8606053..f7c80a26de5 100644 --- 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 */ |