diff options
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index 77198ae1644..835a4686749 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -148,8 +148,7 @@ brw_emit_surface_state(struct brw_context *brw, aux_offset = mt->mcs_buf->bo->offset64 + mt->mcs_buf->offset; } else { aux_bo = mt->hiz_buf->aux_base.bo; - aux_offset = mt->hiz_buf->aux_base.bo->offset64 + - mt->hiz_buf->mt->offset; + aux_offset = mt->hiz_buf->aux_base.bo->offset64; } /* We only really need a clear color if we also have an auxiliary |