From: Jason Ekstrand Date: Fri, 14 Jul 2017 22:28:21 +0000 (-0700) Subject: i965/surface_state: Remove the mcs_buf->offset == 0 restriction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f44171ef6230d9e0adf76c563c83103f9af7b124;p=mesa.git 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 Reviewed-by: Topi Pohjolainen --- 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 {