From: Kenneth Graunke Date: Wed, 7 Mar 2012 18:16:00 +0000 (-0800) Subject: i965: Disable HiZ on Haswell for now. X-Git-Tag: 062012170305~991 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1ba8c6ad03a3f03ecc6b66e1c0e10a4d6010122f;p=profile%2Fivi%2Fmesa.git i965: Disable HiZ on Haswell for now. Getting HiZ working means updating all the state packets for resolves and clears. It's not worth doing until we get the basics working. Signed-off-by: Kenneth Graunke Reviewed-by: Eric Anholt --- diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c index fd5f0b6..1aa2e9a 100644 --- a/src/mesa/drivers/dri/intel/intel_context.c +++ b/src/mesa/drivers/dri/intel/intel_context.c @@ -629,7 +629,7 @@ intelInitContext(struct intel_context *intel, intel->has_separate_stencil = intel->intelScreen->hw_has_separate_stencil; intel->must_use_separate_stencil = intel->intelScreen->hw_must_use_separate_stencil; - intel->has_hiz = intel->gen >= 6; + intel->has_hiz = intel->gen >= 6 && !intel->is_haswell; intel->has_llc = intel->intelScreen->hw_has_llc; intel->has_swizzling = intel->intelScreen->hw_has_swizzling;