Mesa (master): i965: Enable HiZ on Broadwell.

Kenneth Graunke kwg at kemper.freedesktop.org
Wed Feb 19 09:43:13 UTC 2014


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

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Thu Feb  6 17:13:24 2014 -0800

i965: Enable HiZ on Broadwell.

It appears to work fine.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 src/mesa/drivers/dri/i965/brw_context.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index ffbdb94..bb194a7 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -612,7 +612,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->gen < 8;
+   brw->has_hiz = devinfo->has_hiz_and_separate_stencil;
    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