mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 04:30:10 +01:00
radeonsi: correct index_bias_varies usage
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12812>
This commit is contained in:
parent
f734152b62
commit
9e994560ff
1 changed files with 1 additions and 1 deletions
|
|
@ -1258,7 +1258,7 @@ static void si_emit_draw_packets(struct si_context *sctx, const struct pipe_draw
|
|||
sctx->last_drawid = drawid_base + num_draws - 1;
|
||||
}
|
||||
} else {
|
||||
if (info->index_bias_varies) {
|
||||
if (index_bias_varies) {
|
||||
/* Only BaseVertex varies. */
|
||||
for (unsigned i = 0; i < num_draws; i++) {
|
||||
uint64_t va = index_va + draws[i].start * index_size;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue