From 886c054691e48880eacfaa313538703f67f38ff6 Mon Sep 17 00:00:00 2001 From: Mary Guillemard Date: Mon, 13 May 2024 10:40:31 +0200 Subject: [PATCH] panvk: Advertise VK_KHR_pipeline_executable_properties Signed-off-by: Mary Guillemard Reviewed-by: Boris Brezillon Part-of: --- docs/features.txt | 2 +- src/panfrost/vulkan/panvk_physical_device.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index fbb93d22661..a1e6cc57c62 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -527,7 +527,7 @@ Khronos extensions that are not part of any Vulkan version: VK_KHR_maintenance5 DONE (anv, lvp, nvk, radv, tu, vn) VK_KHR_maintenance6 DONE (anv, lvp, nvk, radv, tu) 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_executable_properties DONE (anv, nvk, panvk, hasvk, radv, tu, v3dv) 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) diff --git a/src/panfrost/vulkan/panvk_physical_device.c b/src/panfrost/vulkan/panvk_physical_device.c index 1552391ff62..1e6e3350947 100644 --- a/src/panfrost/vulkan/panvk_physical_device.c +++ b/src/panfrost/vulkan/panvk_physical_device.c @@ -81,6 +81,7 @@ get_device_extensions(const struct panvk_physical_device *device, .KHR_storage_buffer_storage_class = true, .KHR_descriptor_update_template = true, .KHR_driver_properties = true, + .KHR_pipeline_executable_properties = true, .KHR_push_descriptor = true, #ifdef PANVK_USE_WSI_PLATFORM .KHR_swapchain = true, @@ -221,6 +222,9 @@ get_features(const struct panvk_physical_device *device, */ .customBorderColorWithoutFormat = arch != 7, + /* VK_KHR_pipeline_executable_properties */ + .pipelineExecutableInfo = true, + /* VK_KHR_shader_expect_assume */ .shaderExpectAssume = true, };