Debian Codegraph @

src/kosmickrisp/vulkan/kk_query_pool.h

raw symbols SCIP
1 /*
2 * Copyright © 2022 Collabora Ltd. and Red Hat Inc.
3 * Copyright 2025 LunarG, Inc.
4 * Copyright 2025 Google LLC
5 * SPDX-License-Identifier: MIT
6 */
7
8 #ifndef KK_QUERY_POOL_H
9 #define KK_QUERY_POOL_H 1
10
11 #include "kk_private.h"
12
13 #include "vulkan/runtime/vk_query_pool.h"
14
15 struct kk_query_pool {
16 struct vk_query_pool vk;
17
18 struct kk_bo *bo;
19
20 uint32_t query_start;
21 uint32_t query_stride;
22
23 unsigned oq_queries;
24 };
25
26 VK_DEFINE_NONDISP_HANDLE_CASTS(kk_query_pool, vk.base, VkQueryPool,
27 VK_OBJECT_TYPE_QUERY_POOL)
28
29 uint16_t *kk_pool_oq_index_ptr(const struct kk_query_pool *pool);
30
31 #endif /* KK_QUERY_POOL_H */