From 045c96d89649b02f66d6aa0be5219d27845a5fb5 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 4 Apr 2022 18:05:10 +0200 Subject: [PATCH] radv: enable VK_KHR_pipeline_library This has been initially implemented for raytracing but VK_EXT_graphics_pipeline_library requires it. Signed-off-by: Samuel Pitoiset Acked-By: Mike Blumenkrantz Part-of: --- docs/features.txt | 2 +- src/amd/vulkan/radv_device.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index 18ca92c6dd1..e688333fe54 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -511,7 +511,7 @@ Khronos extensions that are not part of any Vulkan version: VK_KHR_incremental_present DONE (anv, lvp, radv, tu, v3dv, vn) VK_KHR_performance_query DONE (anv/gen8+, tu) VK_KHR_pipeline_executable_properties DONE (anv, radv, tu) - VK_KHR_pipeline_library DONE (lvp) + VK_KHR_pipeline_library DONE (lvp, radv) VK_KHR_push_descriptor DONE (anv, lvp, radv, tu) VK_KHR_ray_query in progress VK_KHR_ray_tracing_pipeline in progress diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index b0e9df2b283..ba61228e28f 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -433,8 +433,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device .KHR_maintenance4 = true, .KHR_multiview = true, .KHR_pipeline_executable_properties = true, - .KHR_pipeline_library = - (device->instance->perftest_flags & RADV_PERFTEST_RT) && !device->use_llvm, + .KHR_pipeline_library = !device->use_llvm, .KHR_push_descriptor = true, .KHR_ray_query = (device->instance->perftest_flags & RADV_PERFTEST_RT) && !device->use_llvm,