mesa/src/virtio/vulkan/vn_query_pool.h
Chia-I Wu 02e6164b08 venus: split out vn_query_pool.[ch]
Move VkQueryPool functions to the new files.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Ryan Neph <ryanneph@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10117>
2021-04-09 16:58:46 +00:00

27 lines
642 B
C

/*
* Copyright 2019 Google LLC
* SPDX-License-Identifier: MIT
*
* based in part on anv and radv which are:
* Copyright © 2015 Intel Corporation
* Copyright © 2016 Red Hat.
* Copyright © 2016 Bas Nieuwenhuizen
*/
#ifndef VN_QUERY_POOL_H
#define VN_QUERY_POOL_H
#include "vn_common.h"
struct vn_query_pool {
struct vn_object_base base;
VkAllocationCallbacks allocator;
uint32_t result_array_size;
};
VK_DEFINE_NONDISP_HANDLE_CASTS(vn_query_pool,
base.base,
VkQueryPool,
VK_OBJECT_TYPE_QUERY_POOL)
#endif /* VN_QUERY_POOL_H */