1bf215546Sopenharmony_ci/* 2bf215546Sopenharmony_ci * Copyright 2019 Google LLC 3bf215546Sopenharmony_ci * SPDX-License-Identifier: MIT 4bf215546Sopenharmony_ci * 5bf215546Sopenharmony_ci * based in part on anv and radv which are: 6bf215546Sopenharmony_ci * Copyright © 2015 Intel Corporation 7bf215546Sopenharmony_ci * Copyright © 2016 Red Hat. 8bf215546Sopenharmony_ci * Copyright © 2016 Bas Nieuwenhuizen 9bf215546Sopenharmony_ci */ 10bf215546Sopenharmony_ci 11bf215546Sopenharmony_ci#ifndef VN_QUERY_POOL_H 12bf215546Sopenharmony_ci#define VN_QUERY_POOL_H 13bf215546Sopenharmony_ci 14bf215546Sopenharmony_ci#include "vn_common.h" 15bf215546Sopenharmony_ci 16bf215546Sopenharmony_cistruct vn_query_pool { 17bf215546Sopenharmony_ci struct vn_object_base base; 18bf215546Sopenharmony_ci 19bf215546Sopenharmony_ci VkAllocationCallbacks allocator; 20bf215546Sopenharmony_ci uint32_t result_array_size; 21bf215546Sopenharmony_ci}; 22bf215546Sopenharmony_ciVK_DEFINE_NONDISP_HANDLE_CASTS(vn_query_pool, 23bf215546Sopenharmony_ci base.base, 24bf215546Sopenharmony_ci VkQueryPool, 25bf215546Sopenharmony_ci VK_OBJECT_TYPE_QUERY_POOL) 26bf215546Sopenharmony_ci 27bf215546Sopenharmony_ci#endif /* VN_QUERY_POOL_H */ 28