Mesa (8.0): i965: Fix HiZ change compiler warning.

Ian Romanick idr at kemper.freedesktop.org
Wed Feb 15 01:47:36 UTC 2012


Module: Mesa
Branch: 8.0
Commit: 3d3bd0e917c07910dcfd1a1246ef61c02bb23683
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3d3bd0e917c07910dcfd1a1246ef61c02bb23683

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Feb  7 16:03:17 2012 -0800

i965: Fix HiZ change compiler warning.

(cherry picked from commit 94866ffbb8c2bb6957a763975da859b123d74b16)

---

 src/mesa/drivers/dri/i965/gen6_hiz.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/gen6_hiz.c b/src/mesa/drivers/dri/i965/gen6_hiz.c
index 6d46b28..a86c147 100644
--- a/src/mesa/drivers/dri/i965/gen6_hiz.c
+++ b/src/mesa/drivers/dri/i965/gen6_hiz.c
@@ -72,7 +72,6 @@ gen6_hiz_emit_batch_head(struct brw_context *brw)
 {
    struct gl_context *ctx = &brw->intel.ctx;
    struct intel_context *intel = &brw->intel;
-   struct brw_hiz_state *hiz = &brw->hiz;
 
    /* To ensure that the batch contains only the resolve, flush the batch
     * before beginning and after finishing emitting the resolve packets.




More information about the mesa-commit mailing list