[Mesa-dev] [PATCH 3/8] radeonsi: remove an incorrect assertion
Nicolai Hähnle
nhaehnle at gmail.com
Mon Aug 8 15:55:48 UTC 2016
From: Nicolai Hähnle <nicolai.haehnle at amd.com>
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).
---
src/gallium/drivers/radeonsi/si_state_draw.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c
index b559306..3147311 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);
--
2.7.4
More information about the mesa-dev
mailing list