diff --git a/mesa-9999.orig/src/gallium/drivers/radeonsi/si_state_draw.c b/mesa-9999/src/gallium/drivers/radeonsi/si_state_draw.c index e44147f..d7f3a62 100644 --- a/mesa-9999.orig/src/gallium/drivers/radeonsi/si_state_draw.c +++ b/mesa-9999/src/gallium/drivers/radeonsi/si_state_draw.c @@ -580,6 +580,8 @@ static void si_emit_draw_packets(struct si_context *sctx, sctx->last_index_size = ib->index_size; } + if (!ib->buffer) /* HACK */ + return; index_max_size = (ib->buffer->width0 - ib->offset) / ib->index_size; index_va = r600_resource(ib->buffer)->gpu_address + ib->offset;