From 62edab4caca0d66e3d9f19c8b3d3ab3a78147f42 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 4 Dec 2024 12:21:48 +0100 Subject: [PATCH] radv: cleanup enabling the global BO list when BDA is used VK_{EXT,KHR}_buffer_device_address are redundant with the bufferDeviceAddress feature. VK_KHR_ray_tracing_pipeline depends on VK_KHR_acceleration_structure which also depends on the bufferDeviceAddress feature. Signed-off-by: Samuel Pitoiset Part-of: --- src/amd/vulkan/radv_device.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 3e02f349c39..a5936437eda 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1169,11 +1169,7 @@ radv_CreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCr */ device->use_global_bo_list = (instance->perftest_flags & RADV_PERFTEST_BO_LIST) || device->vk.enabled_features.bufferDeviceAddress || - device->vk.enabled_features.descriptorIndexing || device->vk.enabled_extensions.EXT_descriptor_indexing || - device->vk.enabled_extensions.EXT_buffer_device_address || - device->vk.enabled_extensions.KHR_buffer_device_address || - device->vk.enabled_extensions.KHR_ray_tracing_pipeline || - device->vk.enabled_extensions.KHR_acceleration_structure; + device->vk.enabled_features.descriptorIndexing || device->vk.enabled_extensions.EXT_descriptor_indexing; radv_init_shader_arenas(device);