summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-07-14 15:28:21 -0700
committerJason Ekstrand <[email protected]>2017-07-17 13:48:38 -0700
commitf44171ef6230d9e0adf76c563c83103f9af7b124 (patch)
treefdd0b90e35dfd1b816bb6d598adf81e44d4e3de3
parent828c437078365d0a23a0203fa38b5e7ef6e17a07 (diff)
i965/surface_state: Remove the mcs_buf->offset == 0 restriction
This assert was removed in b0cc55f29831638069407a4c1a5c809b26902ab6 but got added back in 1a43d774b613d0b00e26b28cc752d944ce8049aa, probably by accident. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Topi Pohjolainen <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_surface_state.c1
1 files changed, 0 insertions, 1 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 1d1df9aae08..8d95f13f98e 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
@@ -147,7 +147,6 @@ brw_emit_surface_state(struct brw_context *brw,
if (mt->mcs_buf) {
aux_surf = &mt->mcs_buf->surf;
- assert(mt->mcs_buf->offset == 0);
aux_bo = mt->mcs_buf->bo;
aux_offset = mt->mcs_buf->bo->offset64 + mt->mcs_buf->offset;
} else {