v3d: remove redundant update of queued draw calls
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 11 Sep 2019 08:02:22 +0000 (10:02 +0200)
committerIago Toral <itoral@igalia.com>
Fri, 13 Sep 2019 06:53:26 +0000 (06:53 +0000)
This was updating the counter for the indexed draw path only, but we are
already updating the counter for all paths a bit later, so this is only
duplicating counts for indexed paths.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/v3d/v3dx_draw.c

index 26f706a9347c78b81c745c29925ba2cf0efb2a78..2eed8f1786a7510fa6497a0f9c29944c4f060ae8 100644 (file)
@@ -852,8 +852,6 @@ v3d_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info)
                         }
                 }
 
-                job->draw_calls_queued++;
-
                 if (info->has_user_indices)
                         pipe_resource_reference(&prsc, NULL);
         } else {