Mesa (master): i965: Disable HiZ on Broadwell for now.

Kenneth Graunke kwg at kemper.freedesktop.org
Thu Nov 21 08:25:58 UTC 2013


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

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Fri Dec 14 17:56:40 2012 -0800

i965: Disable HiZ on Broadwell for now.

HiZ is difficult to implement, and while it's essential for performance,
we don't need it right away for purposes of hardware enabling.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 src/mesa/drivers/dri/i965/brw_context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 0399ec0..d1f3ce1 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -614,7 +614,7 @@ brwCreateContext(gl_api api,
    brw->is_baytrail = devinfo->is_baytrail;
    brw->is_haswell = devinfo->is_haswell;
    brw->has_llc = devinfo->has_llc;
-   brw->has_hiz = devinfo->has_hiz_and_separate_stencil;
+   brw->has_hiz = devinfo->has_hiz_and_separate_stencil && brw->gen < 8;
    brw->has_separate_stencil = devinfo->has_hiz_and_separate_stencil;
    brw->has_pln = devinfo->has_pln;
    brw->has_compr4 = devinfo->has_compr4;




More information about the mesa-commit mailing list