mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
vulkan: constify vk_acceleration_structure_get_va()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33599>
This commit is contained in:
parent
e93592dc62
commit
a03e391aa3
2 changed files with 2 additions and 2 deletions
|
|
@ -64,7 +64,7 @@ static const uint32_t ploc_spv[] = {
|
|||
};
|
||||
|
||||
VkDeviceAddress
|
||||
vk_acceleration_structure_get_va(struct vk_acceleration_structure *accel_struct)
|
||||
vk_acceleration_structure_get_va(const struct vk_acceleration_structure *accel_struct)
|
||||
{
|
||||
VkBufferDeviceAddressInfo info = {
|
||||
.sType = VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO,
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ struct vk_acceleration_structure {
|
|||
uint64_t size;
|
||||
};
|
||||
|
||||
VkDeviceAddress vk_acceleration_structure_get_va(struct vk_acceleration_structure *accel_struct);
|
||||
VkDeviceAddress vk_acceleration_structure_get_va(const struct vk_acceleration_structure *accel_struct);
|
||||
|
||||
VK_DEFINE_NONDISP_HANDLE_CASTS(vk_acceleration_structure, base, VkAccelerationStructureKHR,
|
||||
VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue