From 4c73e529332d217de79f16659d24ea2dbfd1b3ab Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Wed, 28 Feb 2024 11:51:18 -0600 Subject: [PATCH] nvk: Advertise VK_KHR_pipeline_library This is required by VK_EXT_graphics_pipeline_library Fixes: fb564040a7bf ("nvk: Advertise VK_KHR_graphics_pipeline_library") Part-of: --- docs/features.txt | 2 +- src/nouveau/vulkan/nvk_physical_device.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index 81911e32851..2241917c222 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -528,7 +528,7 @@ Khronos extensions that are not part of any Vulkan version: VK_KHR_maintenance6 DONE (anv, lvp) VK_KHR_performance_query DONE (anv, radv/gfx10.3+, tu, v3dv) VK_KHR_pipeline_executable_properties DONE (anv, nvk, hasvk, radv, tu, v3dv) - VK_KHR_pipeline_library DONE (anv, lvp, radv, tu, vn) + VK_KHR_pipeline_library DONE (anv, lvp, nvk, radv, tu, vn) VK_KHR_present_wait DONE (anv, nvk, radv, tu, x11/display) VK_KHR_push_descriptor DONE (anv, hasvk, lvp, nvk, radv, tu, vn) VK_KHR_ray_query DONE (anv/gfx12.5+, radv/gfx10.3+) diff --git a/src/nouveau/vulkan/nvk_physical_device.c b/src/nouveau/vulkan/nvk_physical_device.c index 14b2961f3d8..feabea94907 100644 --- a/src/nouveau/vulkan/nvk_physical_device.c +++ b/src/nouveau/vulkan/nvk_physical_device.c @@ -117,6 +117,7 @@ nvk_get_device_extensions(const struct nvk_instance *instance, .KHR_map_memory2 = true, .KHR_multiview = true, .KHR_pipeline_executable_properties = true, + .KHR_pipeline_library = true, #ifdef NVK_USE_WSI_PLATFORM /* Hide these behind dri configs for now since we cannot implement it