R6xx/r7xx: DEPTH_CONTROL will be reset by this function
authorCooper Yuan <cooperyuan@gmail.com>
Mon, 6 Jul 2009 08:30:43 +0000 (16:30 +0800)
committerCooper Yuan <cooperyuan@gmail.com>
Mon, 6 Jul 2009 08:30:43 +0000 (16:30 +0800)
src/mesa/drivers/dri/r600/r700_state.c

index d251b99b875d59da2b2832a10a25b4d0bfcee03e..6dc8933a0787d07cd70b4a5622edcd1f0401ef66 100644 (file)
@@ -749,7 +749,6 @@ void r700SetDepthTarget(context_t *context)
     r700->DB_DEPTH_BASE.u32All = 0;
     r700->DB_DEPTH_INFO.u32All = 0;
 
-    r700->DB_DEPTH_CONTROL.u32All   = 0;
     r700->DB_DEPTH_CLEAR.u32All     = 0x3F800000;
     r700->DB_DEPTH_VIEW.u32All      = 0;
     r700->DB_RENDER_CONTROL.u32All  = 0;