From: Christian König Date: Mon, 27 Aug 2012 15:36:08 +0000 (+0200) Subject: radeonsi: disable Z16 for now X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa5daa61a19d002c48845ad28fd86872b145d46d;p=mesa.git radeonsi: disable Z16 for now It's causing crashes. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index b7a3cf45b13..c01c3f6b289 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -1045,8 +1045,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 */