R6xx/r7xx: disable depth/stencil compression for now
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 17 Jul 2009 16:21:33 +0000 (12:21 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Fri, 17 Jul 2009 16:21:33 +0000 (12:21 -0400)
src/mesa/drivers/dri/r600/r700_state.c

index 6dc8933a0787d07cd70b4a5622edcd1f0401ef66..dd6ddaff3e4ef78e67ba307d9e278e9ba6db89a1 100644 (file)
@@ -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);