mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
mesa: fix incorrect comment in draw_gallium_multimode
Fixes: 4566383ae4 ("gallium: move pipe_draw_info::index_bias to pipe_draw_start_count_bias")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11939>
This commit is contained in:
parent
73a03d12e9
commit
ed57666a5c
2 changed files with 2 additions and 2 deletions
|
|
@ -1073,7 +1073,7 @@ _mesa_draw_gallium_multimode_fallback(struct gl_context *ctx,
|
|||
{
|
||||
unsigned i, first;
|
||||
|
||||
/* Find consecutive draws where mode and base_vertex don't vary. */
|
||||
/* Find consecutive draws where mode doesn't vary. */
|
||||
for (i = 0, first = 0; i <= num_draws; i++) {
|
||||
if (i == num_draws || mode[i] != mode[first]) {
|
||||
info->mode = mode[first];
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ st_draw_gallium_multimode(struct gl_context *ctx,
|
|||
unsigned i, first;
|
||||
struct cso_context *cso = st->cso_context;
|
||||
|
||||
/* Find consecutive draws where mode and base_vertex don't vary. */
|
||||
/* Find consecutive draws where mode doesn't vary. */
|
||||
for (i = 0, first = 0; i <= num_draws; i++) {
|
||||
if (i == num_draws || mode[i] != mode[first]) {
|
||||
info->mode = mode[first];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue