From ed57666a5c10a601b89868fa986d9ef215b908ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Sun, 13 Jun 2021 23:00:44 -0400 Subject: [PATCH] mesa: fix incorrect comment in draw_gallium_multimode Fixes: 4566383ae4b ("gallium: move pipe_draw_info::index_bias to pipe_draw_start_count_bias") Reviewed-by: Erik Faye-Lund Part-of: --- src/mesa/main/draw.c | 2 +- src/mesa/state_tracker/st_draw.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/draw.c b/src/mesa/main/draw.c index bb506e70771..95f60b0880f 100644 --- a/src/mesa/main/draw.c +++ b/src/mesa/main/draw.c @@ -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]; diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index 108e46ecd86..2b6cb8c8a17 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -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];