diff options
author | Nanley Chery <nanley.g.chery@intel.com> | 2018-04-08 14:00:30 -0700 |
---|---|---|
committer | Nanley Chery <nanley.g.chery@intel.com> | 2018-05-17 07:06:41 -0700 |
commit | 43616404be311e787f043f49d0a8341ef54459cb (patch) | |
tree | 1687fcb7f143d82c7ff40e26083879e79dddba38 | |
parent | 82849fb6d54629a0c7c5a118ed8780a3ae573b25 (diff) |
i965/clear: Drop a stale comment in fast_clear_depth
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").
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_clear.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c index a65839a0a0..24c8b24244 100644 --- a/src/mesa/drivers/dri/i965/brw_clear.c +++ b/src/mesa/drivers/dri/i965/brw_clear.c @@ -228,13 +228,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; } |