From: Nicolai Hähnle Date: Mon, 8 Aug 2016 15:50:42 +0000 (+0200) Subject: radeonsi: remove an incorrect assertion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d34292a77fc1580fcc3a6175b6be805c05eae22b;p=mesa.git radeonsi: remove an incorrect assertion Byte indices don't need any alignment, so remove this assertion (it got moved into a path where a piglit test hit it during the refactoring of commit 64ff23a58c). Reviewed-by: Bas Nieuwenhuizen Reviewed-by: Marek Olšák --- diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c index b5593064131..314731164c9 100644 --- a/src/gallium/drivers/radeonsi/si_state_draw.c +++ b/src/gallium/drivers/radeonsi/si_state_draw.c @@ -574,8 +574,6 @@ static void si_emit_draw_packets(struct si_context *sctx, ib->index_size; index_va = r600_resource(ib->buffer)->gpu_address + ib->offset; - assert(index_va % 2 == 0); - radeon_add_to_buffer_list(&sctx->b, &sctx->b.gfx, (struct r600_resource *)ib->buffer, RADEON_USAGE_READ, RADEON_PRIO_INDEX_BUFFER);