mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 19:30:11 +01:00
zink: remove suspended queries from list before resuming
this avoids double-starting primgen queries from recursion when needs_rast_discard_workaround is true cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21534>
This commit is contained in:
parent
4f53997574
commit
96f7fe7191
1 changed files with 1 additions and 1 deletions
|
|
@ -1075,8 +1075,8 @@ zink_resume_queries(struct zink_context *ctx, struct zink_batch *batch)
|
|||
{
|
||||
struct zink_query *query, *next;
|
||||
LIST_FOR_EACH_ENTRY_SAFE(query, next, &ctx->suspended_queries, active_list) {
|
||||
begin_query(ctx, batch, query);
|
||||
list_delinit(&query->active_list);
|
||||
begin_query(ctx, batch, query);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue