mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
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:
parent
f6251b21f9
commit
6bfee9e669
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue