i965: Disable HiZ on Broadwell for now.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 15 Dec 2012 01:56:40 +0000 (17:56 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Nov 2013 08:26:11 +0000 (00:26 -0800)
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@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_context.c

index 0399ec04132961987bb2f9da4637a18a2500ef17..d1f3ce12c3c002f6b1f7834e9f9031657c07a717 100644 (file)
@@ -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;