Lines Matching full:queries
50 pool->queries = vk_alloc2(&device->vk.alloc, pAllocator, pool_bytes, 8, in v3dv_CreateQueryPool()
52 if (pool->queries == NULL) { in v3dv_CreateQueryPool()
58 /* The hardware allows us to setup groups of 16 queries in consecutive in v3dv_CreateQueryPool()
59 * 4-byte addresses, requiring only that each group of 16 queries is in v3dv_CreateQueryPool()
77 pool->queries[i].maybe_available = false; in v3dv_CreateQueryPool()
82 pool->queries[i].bo = pool->bo; in v3dv_CreateQueryPool()
83 pool->queries[i].offset = query_offset; in v3dv_CreateQueryPool()
87 pool->queries[i].value = 0; in v3dv_CreateQueryPool()
101 if (pool->queries) in v3dv_CreateQueryPool()
102 vk_free2(&device->vk.alloc, pAllocator, pool->queries); in v3dv_CreateQueryPool()
122 if (pool->queries) in v3dv_DestroyQueryPool()
123 vk_free2(&device->vk.alloc, pAllocator, pool->queries); in v3dv_DestroyQueryPool()
150 struct v3dv_query *q = &pool->queries[query]; in get_occlusion_query_result()
187 struct v3dv_query *q = &pool->queries[query]; in get_timestamp_query_result()
259 * both not set then no result values are written to pData for queries in v3dv_get_query_pool_results_cpu()
262 * state is still written to pData for those queries if in v3dv_get_query_pool_results_cpu()