[Mesa-dev] [PATCH] i965/surface_state: Remove the mcs_buf->offset == 0 restriction
Jason Ekstrand
jason at jlekstrand.net
Fri Jul 14 22:38:30 UTC 2017
This assert was removed in b0cc55f29831638069407a4c1a5c809b26902ab6 but
got added back in 1a43d774b613d0b00e26b28cc752d944ce8049aa, probably by
accident.
---
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 9ef5076..c252f40 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.5.0.400.gff86faf
More information about the mesa-dev
mailing list