mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 09:58:05 +02:00
r600: add an unlikely() to synchronize with the index_bias fix
Signed-off-by: Patrick Lerda <patrick9876@free.fr> Reviewed-by: Gert Wollny <gert.wollny@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34726>
This commit is contained in:
parent
a640b7233c
commit
922a0bdcd6
1 changed files with 1 additions and 1 deletions
|
|
@ -2279,7 +2279,7 @@ static void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info
|
|||
}
|
||||
index_bias = unlikely(indirect) ? 0 : draws->index_bias;
|
||||
} else {
|
||||
index_bias = indirect ? 0 : draws[0].start;
|
||||
index_bias = unlikely(indirect) ? 0 : draws[0].start;
|
||||
}
|
||||
|
||||
/* Set the index offset and primitive restart. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue