Lines Matching refs:pool
36 struct zink_query_pool *pool;
54 struct zink_query_pool *pool[2];
105 vkq->pool->query_pool,
119 vkq->pool->query_pool,
130 VKCTX(CmdResetQueryPool)(batch->state->cmdbuf, vkq->pool->query_pool, vkq->query_id, 1);
139 list_for_each_entry_safe(struct zink_query_pool, pool, &ctx->query_pools, list) {
140 VKSCR(DestroyQueryPool)(screen->dev, pool->query_pool, NULL);
141 list_del(&pool->list);
142 FREE(pool);
152 list_for_each_entry(struct zink_query_pool, pool, &ctx->query_pools, list) {
153 if (pool->vk_query_type == vk_query_type) {
155 if (pool->pipeline_stats == pipeline_stats)
156 return pool;
158 return pool;
414 int pool_idx = q->pool[1] ? i : 0;
423 struct zink_query_pool *pool = q->pool[pool_idx];
428 vkq->pool = pool;
430 vkq->query_id = pool->last_range;
432 pool->last_range++;
433 if (pool->last_range == NUM_QUERIES)
434 pool->last_range = 0;
488 query->pool[i] = find_or_allocate_qp(zink_context(pctx),
491 if (!query->pool[i])
502 /* defer pool reset until end_query since we're guaranteed to be threadsafe then */
578 /* A query pool created with this type will capture 2 integers -
587 /* A query pool created with this type will capture 2 integers -
719 copy_pool_results_to_buffer(struct zink_context *ctx, struct zink_query *query, VkQueryPool pool,
736 VKCTX(CmdCopyQueryPoolResults)(batch->state->cmdbuf, pool, query_id, num_results, res->obj->buffer,
744 copy_pool_results_to_buffer(ctx, query, start->vkq[0]->pool->query_pool, start->vkq[0]->query_id, res, offset, num_results, flags);
793 copy_pool_results_to_buffer(ctx, q, start->vkq[i]->pool->query_pool, start->vkq[i]->query_id,
831 VKCTX(CmdWriteTimestamp)(batch->state->cmdbuf, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, start->vkq[0]->pool->query_pool, start->vkq[0]->query_id);
861 VKCTX(CmdBeginQuery)(batch->state->cmdbuf, start->vkq[0]->pool->query_pool, start->vkq[0]->query_id, flags);
949 VKCTX(CmdEndQuery)(batch->state->cmdbuf, start->vkq[0]->pool->query_pool, start->vkq[0]->query_id);
992 start->vkq[0]->pool->query_pool, start->vkq[0]->query_id);
1257 VkResult result = VKCTX(GetQueryPoolResults)(screen->dev, start->vkq[0]->pool->query_pool, query_id, 1,