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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user