radeonsi: disable Z16 for now
authorChristian König <deathsimple@vodafone.de>
Mon, 27 Aug 2012 15:36:08 +0000 (17:36 +0200)
committerChristian König <deathsimple@vodafone.de>
Mon, 3 Sep 2012 09:23:20 +0000 (11:23 +0200)
It's causing crashes.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/radeonsi/si_state.c

index b7a3cf45b13a2b00d1c3093b8dea924e68f5cf6b..c01c3f6b28910835eeffe7c0947c8f7bf9196fbc 100644 (file)
@@ -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 */