mesa/src/virtio/vulkan/vn_acceleration_structure.h
Yiwei Zhang dfcad90240 venus: rename common vk object base member to vk
This way we avoid the confusing base.base or even base.base.base when
venus uses common objects. This also aligns with the naming of the other
drivers.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34083>
2025-03-15 22:14:58 +00:00

19 lines
508 B
C

/*
* Copyright 2025 Google LLC
* SPDX-License-Identifier: MIT
*/
#ifndef VN_ACCELERATION_STRUCTURE_H
#define VN_ACCELERATION_STRUCTURE_H
#include "vn_common.h"
struct vn_acceleration_structure {
struct vn_object_base base;
};
VK_DEFINE_NONDISP_HANDLE_CASTS(vn_acceleration_structure,
base.vk,
VkAccelerationStructureKHR,
VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR)
#endif /* VN_ACCELERATION_STRUCTURE_H */