i965: Enable HiZ on Broadwell.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 7 Feb 2014 01:13:24 +0000 (17:13 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 19 Feb 2014 09:46:17 +0000 (01:46 -0800)
It appears to work fine.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_context.c

index ffbdb9470ed8b5d8fb6b07abe36cc27fbe3bd31b..bb194a74406660d5fb3d706479e19eb47f673ddb 100644 (file)
@@ -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;