i965: Fix compiler warnings from hiz changes.

This commit is contained in:
Eric Anholt 2012-01-10 16:44:05 -08:00
parent f7cbd80028
commit 254b24f195
2 changed files with 0 additions and 4 deletions

View File

@ -330,8 +330,6 @@ static void emit_depthbuffer(struct brw_context *brw)
* Section 7.5.5.1.1 3DSTATE_DEPTH_BUFFER, Bit 1.27 Tiled Surface:
* [DevGT+]: This field must be set to TRUE.
*/
struct intel_region *region = stencil_mt->region;
assert(intel->has_separate_stencil);
BEGIN_BATCH(len);

View File

@ -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);