diff options
author | Iago Toral Quiroga <[email protected]> | 2019-09-11 10:02:22 +0200 |
---|---|---|
committer | Iago Toral <[email protected]> | 2019-09-13 06:53:26 +0000 |
commit | ded6ea92098a8393db554c3f0f08ec90720ddcf4 (patch) | |
tree | b643a596bb1acbf74c278cf89443e208c724b46b /src | |
parent | b9a07eed004c8c53f97d6d41e6816f1998d8dd8b (diff) |
v3d: remove redundant update of queued draw calls
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/v3d/v3dx_draw.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/v3d/v3dx_draw.c b/src/gallium/drivers/v3d/v3dx_draw.c index 26f706a9347..2eed8f1786a 100644 --- a/src/gallium/drivers/v3d/v3dx_draw.c +++ b/src/gallium/drivers/v3d/v3dx_draw.c @@ -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 { |