Lines Matching refs:queries
53 pool->queries = vk_alloc2(&device->alloc, pAllocator, pool_bytes, 8, in v3dv_CreateQueryPool()
55 if (pool->queries == NULL) { in v3dv_CreateQueryPool()
62 pool->queries[i].maybe_available = false; in v3dv_CreateQueryPool()
65 pool->queries[i].bo = v3dv_bo_alloc(device, 4096, "query", true); in v3dv_CreateQueryPool()
66 if (!pool->queries[i].bo) { in v3dv_CreateQueryPool()
71 if (!v3dv_bo_map(device, pool->queries[i].bo, 4)) { in v3dv_CreateQueryPool()
77 pool->queries[i].value = 0; in v3dv_CreateQueryPool()
90 v3dv_bo_free(device, pool->queries[j].bo); in v3dv_CreateQueryPool()
91 vk_free2(&device->alloc, pAllocator, pool->queries); in v3dv_CreateQueryPool()
112 v3dv_bo_free(device, pool->queries[i].bo); in v3dv_DestroyQueryPool()
115 vk_free2(&device->alloc, pAllocator, pool->queries); in v3dv_DestroyQueryPool()
140 struct v3dv_query *q = &pool->queries[query]; in get_occlusion_query_result()
174 struct v3dv_query *q = &pool->queries[query]; in get_timestamp_query_result()