diff options
author | Ben Widawsky <[email protected]> | 2016-11-16 11:39:29 -0800 |
---|---|---|
committer | Ben Widawsky <[email protected]> | 2016-11-16 11:40:12 -0800 |
commit | 0272f76741e6311aa12a79fa24c3ace323236941 (patch) | |
tree | 8dcdff056d54b6e952da12dd9d7fe081b35c75e6 | |
parent | 0d241085f723402120b4b47e939fe77020a16d80 (diff) |
Partial revert "i965: "Fix" aux offsets"
This partially reverts commit 0d241085f723402120b4b47e939fe77020a16d80.
HiZ buffer cannot do this properly now, and it's not required, so remove
it.
Reviewed-by: Jason Ekstrand <[email protected]>
-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 |