mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 14:10:09 +01:00
zink: don't double suspend queries
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21534>
This commit is contained in:
parent
9d0c3d3fb1
commit
74a65363ea
1 changed files with 2 additions and 0 deletions
|
|
@ -1092,6 +1092,8 @@ zink_suspend_queries(struct zink_context *ctx, struct zink_batch *batch)
|
|||
{
|
||||
set_foreach(&batch->state->active_queries, entry) {
|
||||
struct zink_query *query = (void*)entry->key;
|
||||
if (query->suspended)
|
||||
continue;
|
||||
if (query->active && !is_time_query(query)) {
|
||||
/* the fence is going to steal the set off the batch, so we have to copy
|
||||
* the active queries onto a list
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue