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 <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user