freedreno: Account for multi-draw in num_draws
Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21274>
This commit is contained in:
@@ -373,7 +373,7 @@ fd_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info,
|
||||
assert(ctx->batch == batch);
|
||||
}
|
||||
|
||||
batch->num_draws++;
|
||||
batch->num_draws += num_draws;
|
||||
|
||||
/* Marking the batch as needing flush must come after the batch
|
||||
* dependency tracking (resource_read()/resource_write()), as that
|
||||
|
||||
Reference in New Issue
Block a user