[Mesa-dev] [PATCH v2 5/5] i965/clear: Drop a stale comment in fast_clear_depth

Nanley Chery nanleychery at gmail.com
Wed Apr 25 00:48:46 UTC 2018


This comment made more sense when it was above the calls to
intel_miptree_slice_set_needs_depth_resolve(). We stopped using these
functions at commit 554f7d6d02931ea45653c8872565d21c1678a6da
("i965: Move depth to the new resolve functions").
---
 src/mesa/drivers/dri/i965/brw_clear.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c
index e372d28926e..fda53326228 100644
--- a/src/mesa/drivers/dri/i965/brw_clear.c
+++ b/src/mesa/drivers/dri/i965/brw_clear.c
@@ -240,13 +240,9 @@ brw_fast_clear_depth(struct gl_context *ctx)
       }
    }
 
-   /* Now, the HiZ buffer contains data that needs to be resolved to the depth
-    * buffer.
-    */
    intel_miptree_set_aux_state(brw, mt, depth_irb->mt_level,
                                depth_irb->mt_layer, num_layers,
                                ISL_AUX_STATE_CLEAR);
-
    return true;
 }
 
-- 
2.16.2



More information about the mesa-dev mailing list