i965: Disable HiZ on Haswell for now.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 7 Mar 2012 18:16:00 +0000 (10:16 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 30 Mar 2012 21:38:59 +0000 (14:38 -0700)
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 <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/intel/intel_context.c

index fd5f0b604d635cd4815543cdf084f41025fb47ab..1aa2e9a40ece64853871cba77a5099458adcb4ff 100644 (file)
@@ -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;