aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/gen7_misc_state.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-01-10 16:44:05 -0800
committerEric Anholt <[email protected]>2012-01-10 16:44:16 -0800
commit254b24f19511014cdf4741b73d69349ac9e931a2 (patch)
tree8a850b1acfec55857df2cebb8143194393126387 /src/mesa/drivers/dri/i965/gen7_misc_state.c
parentf7cbd80028247b83ca6835a3f68b8d5bd28b6f70 (diff)
i965: Fix compiler warnings from hiz changes.
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen7_misc_state.c')
-rw-r--r--src/mesa/drivers/dri/i965/gen7_misc_state.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/gen7_misc_state.c b/src/mesa/drivers/dri/i965/gen7_misc_state.c
index d7a3dae571a..8a383f5ed12 100644
--- a/src/mesa/drivers/dri/i965/gen7_misc_state.c
+++ b/src/mesa/drivers/dri/i965/gen7_misc_state.c
@@ -69,8 +69,6 @@ static void emit_depthbuffer(struct brw_context *brw)
if (stencil_mt == NULL) {
dw1 |= (BRW_SURFACE_NULL << 29);
} else {
- struct intel_region *region = stencil_mt->region;
-
/* _NEW_STENCIL: enable stencil buffer writes */
dw1 |= ((ctx->Stencil.WriteMask != 0) << 27);