From 01ae16a0e7d95f408016ff5b07bc647ad5608841 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 14 Dec 2012 17:56:40 -0800 Subject: [PATCH] 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 Reviewed-by: Chad Versace Reviewed-by: Eric Anholt --- 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 0399ec04132..d1f3ce12c3c 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; -- 2.30.2