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 <eric@anholt.net>
This commit is contained in:
committed by
Iago Toral
parent
b9a07eed00
commit
ded6ea9209
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user