Skip to content

Commit

Permalink
Remove remaining check for VK_KHR_ray_query
Browse files Browse the repository at this point in the history
We require Vulkan headers that contain it
  • Loading branch information
Novum committed Feb 10, 2023
1 parent d77c489 commit c6b412d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Quake/gl_rmisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -895,13 +895,11 @@ static void R_InitDynamicStorageBuffers (void)
{
VkBufferUsageFlags usage_flags = VK_BUFFER_USAGE_STORAGE_BUFFER_BIT;
qboolean get_device_address = false;
#if defined(VK_KHR_ray_query)
if (vulkan_globals.ray_query)
{
usage_flags |= VK_BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR;
get_device_address = true;
}
#endif

R_InitDynamicBuffers (dyn_storage_buffers, &dyn_storage_buffer_memory, &current_dyn_storage_buffer_size, usage_flags, get_device_address, "storage buffer");
}
Expand Down

0 comments on commit c6b412d

Please sign in to comment.