From f44171ef6230d9e0adf76c563c83103f9af7b124 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 14 Jul 2017 15:28:21 -0700 Subject: [PATCH] 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 --- src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 1 - 1 file changed, 1 deletion(-) 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 { -- 2.30.2