Mesa (main): radv: enable VK_KHR_pipeline_library
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Apr 6 06:54:08 UTC 2022
Module: Mesa
Branch: main
Commit: 045c96d89649b02f66d6aa0be5219d27845a5fb5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=045c96d89649b02f66d6aa0be5219d27845a5fb5
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Mon Apr 4 18:05:10 2022 +0200
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 at gmail.com>
Acked-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15737>
---
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,
More information about the mesa-commit
mailing list