From c4ab08a0cdddd05f53810490f4ded5838acd1217 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 17 Jul 2009 12:21:33 -0400 Subject: [PATCH] R6xx/r7xx: disable depth/stencil compression for now --- src/mesa/drivers/dri/r600/r700_state.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/r600/r700_state.c b/src/mesa/drivers/dri/r600/r700_state.c index 6dc8933a078..dd6ddaff3e4 100644 --- a/src/mesa/drivers/dri/r600/r700_state.c +++ b/src/mesa/drivers/dri/r600/r700_state.c @@ -752,6 +752,8 @@ void r700SetDepthTarget(context_t *context) r700->DB_DEPTH_CLEAR.u32All = 0x3F800000; r700->DB_DEPTH_VIEW.u32All = 0; r700->DB_RENDER_CONTROL.u32All = 0; + SETbit(r700->DB_RENDER_CONTROL.u32All, STENCIL_COMPRESS_DISABLE_bit); + SETbit(r700->DB_RENDER_CONTROL.u32All, DEPTH_COMPRESS_DISABLE_bit); r700->DB_RENDER_OVERRIDE.u32All = 0; if (context->radeon.radeonScreen->chip_family < CHIP_FAMILY_RV770) SETbit(r700->DB_RENDER_OVERRIDE.u32All, FORCE_SHADER_Z_ORDER_bit); -- 2.30.2