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 <samuel.pitoiset@gmail.com>
Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15737>
This commit is contained in:
Samuel Pitoiset 2022-04-04 18:05:10 +02:00 committed by Marge Bot
parent eb8cde0d93
commit 045c96d896
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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,