Mesa (master): i965: Don't bother with HiZ in renderbuffer_move_to_temp

Jason Ekstrand jekstrand at kemper.freedesktop.org
Fri Jun 23 19:30:55 UTC 2017


Module: Mesa
Branch: master
Commit: 793b312b4ad57e1f5a3bfa9405169e108384bdbc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=793b312b4ad57e1f5a3bfa9405169e108384bdbc

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Thu Jun 15 21:18:31 2017 -0700

i965: Don't bother with HiZ in renderbuffer_move_to_temp

This function is only used on gen4-5 which don't support HiZ.

Reviewed-by: Chad Versace <chadversary at chromium.org>

---

 src/mesa/drivers/dri/i965/intel_fbo.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/intel_fbo.c b/src/mesa/drivers/dri/i965/intel_fbo.c
index f84cea1322..4bf2934033 100644
--- a/src/mesa/drivers/dri/i965/intel_fbo.c
+++ b/src/mesa/drivers/dri/i965/intel_fbo.c
@@ -989,10 +989,6 @@ intel_renderbuffer_move_to_temp(struct brw_context *brw,
                                  irb->mt->num_samples,
                                  layout_flags);
 
-   if (intel_miptree_wants_hiz_buffer(brw, new_mt)) {
-      intel_miptree_alloc_hiz(brw, new_mt);
-   }
-
    if (!invalidate)
       intel_miptree_copy_slice(brw, intel_image->mt,
                                intel_image->base.Base.Level, irb->mt_layer,




More information about the mesa-commit mailing list