Mesa (haswell): i965: Disable HiZ on Haswell for now.

Kenneth Graunke kwg at kemper.freedesktop.org
Fri Mar 30 21:42:20 UTC 2012


Module: Mesa
Branch: haswell
Commit: 1ba8c6ad03a3f03ecc6b66e1c0e10a4d6010122f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1ba8c6ad03a3f03ecc6b66e1c0e10a4d6010122f

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Wed Mar  7 10:16:00 2012 -0800

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 <kenneth at whitecape.org>
Reviewed-by: Eric Anholt <eric at anholt.net>

---

 src/mesa/drivers/dri/intel/intel_context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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;
 




More information about the mesa-commit mailing list