From 1e75b6dfb89960ae3bdadc00f3ccd3b8f91ec4b1 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Tue, 31 Dec 2024 11:26:36 +0100 Subject: [PATCH] radv/meta: remove a workaround for building accel structs with LLVM This is no longer needded and this will allow us to compile the meta pipelines on-demand. Signed-off-by: Samuel Pitoiset Part-of: --- src/amd/vulkan/meta/radv_meta.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/amd/vulkan/meta/radv_meta.c b/src/amd/vulkan/meta/radv_meta.c index 5371118a8ee..40cf0cb08df 100644 --- a/src/amd/vulkan/meta/radv_meta.c +++ b/src/amd/vulkan/meta/radv_meta.c @@ -432,7 +432,6 @@ fail: VkResult radv_device_init_meta(struct radv_device *device) { - struct radv_physical_device *pdev = radv_device_physical(device); VkResult result; memset(&device->meta_state, 0, sizeof(device->meta_state)); @@ -470,15 +469,8 @@ radv_device_init_meta(struct radv_device *device) return result; } - /* FIXME: Acceleration structure builds hang when the build shaders are compiled with LLVM. - * Work around it by forcing ACO for now. - */ - bool use_llvm = pdev->use_llvm; - if (loaded_cache || use_llvm) { - pdev->use_llvm = false; + if (loaded_cache) { result = radv_device_init_accel_struct_build_state(device); - pdev->use_llvm = use_llvm; - if (result != VK_SUCCESS) return result; }