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:
Marek Olšák 2021-06-13 23:00:44 -04:00 committed by Marge Bot
parent 73a03d12e9
commit ed57666a5c
2 changed files with 2 additions and 2 deletions

View file

@ -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];

View file

@ -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];