1 /* 2 * Copyright © 2022 Collabora Ltd. and Red Hat Inc. 3 * SPDX-License-Identifier: MIT 4 */ 5 #ifndef NVK_QUERY_POOL_H 6 #define NVK_QUERY_POOL_H 1 7 8 #include "nvk_private.h" 9 10 #include "vk_query_pool.h" 11 12 struct nvkmd_mem; 13 14 struct nvk_query_pool { 15 struct vk_query_pool vk; 16 17 uint32_t query_start; 18 uint32_t query_stride; 19 20 struct nvkmd_mem *mem; 21 }; 22 23 VK_DEFINE_NONDISP_HANDLE_CASTS(nvk_query_pool, vk.base, VkQueryPool, 24 VK_OBJECT_TYPE_QUERY_POOL) 25 26 #endif /* NVK_QUERY_POOL_H */ 27