zink: remove screen param from zink_prune_query()
no longer used Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22493>
This commit is contained in:
committed by
Marge Bot
parent
7119a344f3
commit
e5654cb3ee
@@ -109,7 +109,7 @@ zink_reset_batch_state(struct zink_context *ctx, struct zink_batch_state *bs)
|
||||
/* queries must only be destroyed once they are inactive */
|
||||
set_foreach_remove(&bs->active_queries, entry) {
|
||||
struct zink_query *query = (void*)entry->key;
|
||||
zink_prune_query(screen, bs, query);
|
||||
zink_prune_query(bs, query);
|
||||
}
|
||||
util_dynarray_foreach(&bs->dead_querypools, VkQueryPool, pool)
|
||||
VKSCR(DestroyQueryPool)(screen->dev, *pool, NULL);
|
||||
|
||||
@@ -561,7 +561,7 @@ zink_destroy_query(struct pipe_context *pctx,
|
||||
}
|
||||
|
||||
void
|
||||
zink_prune_query(struct zink_screen *screen, struct zink_batch_state *bs, struct zink_query *query)
|
||||
zink_prune_query(struct zink_batch_state *bs, struct zink_query *query)
|
||||
{
|
||||
if (!zink_batch_usage_matches(query->batch_uses, bs))
|
||||
return;
|
||||
|
||||
@@ -45,7 +45,7 @@ void
|
||||
zink_resume_cs_query(struct zink_context *ctx);
|
||||
|
||||
void
|
||||
zink_prune_query(struct zink_screen *screen, struct zink_batch_state *bs, struct zink_query *query);
|
||||
zink_prune_query(struct zink_batch_state *bs, struct zink_query *query);
|
||||
|
||||
void
|
||||
zink_query_update_gs_states(struct zink_context *ctx);
|
||||
|
||||
Reference in New Issue
Block a user