mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 10:48:08 +02:00
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>
19 lines
508 B
C
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 */
|