diff options
author | Nicolai Hähnle <[email protected]> | 2016-08-08 17:50:42 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-08-09 15:56:03 +0200 |
commit | d34292a77fc1580fcc3a6175b6be805c05eae22b (patch) | |
tree | d703fbfc6bb30ddc55b0e7af84e9c62ff47bbfdf /src/gallium | |
parent | 2852dedaa0c45e426a53ba0042ecdb0f1b87950f (diff) |
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 <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_draw.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |