From 78605a4ac404c764ac1d1a8d01cdfa4721dd224c Mon Sep 17 00:00:00 2001 From: Mary Guillemard Date: Mon, 13 May 2024 10:40:34 +0200 Subject: [PATCH] panvk: Advertise VK_EXT_pipeline_creation_cache_control and VK_EXT_pipeline_creation_feedback Signed-off-by: Mary Guillemard Reviewed-by: Boris Brezillon Part-of: --- docs/features.txt | 4 ++-- src/panfrost/vulkan/panvk_physical_device.c | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index a1e6cc57c62..d793daa9ffd 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -488,8 +488,8 @@ Vulkan 1.3 -- all DONE: anv, lvp, nvk, radv, tu, vn VK_EXT_extended_dynamic_state DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn) VK_EXT_extended_dynamic_state2 DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn) VK_EXT_inline_uniform_block DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn) - VK_EXT_pipeline_creation_cache_control DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn) - VK_EXT_pipeline_creation_feedback DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn) + VK_EXT_pipeline_creation_cache_control DONE (anv, hasvk, lvp, nvk, panvk, radv, tu, v3dv, vn) + VK_EXT_pipeline_creation_feedback DONE (anv, hasvk, lvp, nvk, panvk, radv, tu, v3dv, vn) VK_EXT_private_data DONE (anv, hasvk, lvp, nvk, pvr, radv, tu, v3dv, vn) VK_EXT_image_robustness DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn) VK_EXT_shader_demote_to_helper_invocation DONE (anv, hasvk, lvp, nvk, radv, tu, v3dv, vn) diff --git a/src/panfrost/vulkan/panvk_physical_device.c b/src/panfrost/vulkan/panvk_physical_device.c index d470e8bddc6..1175dd8459a 100644 --- a/src/panfrost/vulkan/panvk_physical_device.c +++ b/src/panfrost/vulkan/panvk_physical_device.c @@ -78,6 +78,8 @@ get_device_extensions(const struct panvk_physical_device *device, .EXT_buffer_device_address = true, .EXT_custom_border_color = true, .EXT_index_type_uint8 = true, + .EXT_pipeline_creation_cache_control = true, + .EXT_pipeline_creation_feedback = true, .EXT_vertex_attribute_divisor = true, }; } @@ -172,7 +174,7 @@ get_features(const struct panvk_physical_device *device, .robustImageAccess = false, .inlineUniformBlock = false, .descriptorBindingInlineUniformBlockUpdateAfterBind = false, - .pipelineCreationCacheControl = false, + .pipelineCreationCacheControl = true, .privateData = true, .shaderDemoteToHelperInvocation = false, .shaderTerminateInvocation = false,