summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_clear.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c
index e56a26ae1ec..ce40e52d461 100644
--- a/src/mesa/drivers/dri/i965/brw_clear.c
+++ b/src/mesa/drivers/dri/i965/brw_clear.c
@@ -193,11 +193,9 @@ brw_fast_clear_depth(struct gl_context *ctx)
intel_batchbuffer_emit_mi_flush(intel);
}
- /* Now, the entire HiZ buffer contains data that needs to be resolved to the
- * entire depth buffer (so any previous resolve records should get tossed
- * out).
+ /* Now, the HiZ buffer contains data that needs to be resolved to the depth
+ * buffer.
*/
- intel_resolve_map_clear(&mt->hiz_map);
intel_renderbuffer_set_needs_depth_resolve(depth_irb);
return true;