From f7b953c9166c1310938e7711b90dcfbf8d5ac7ff Mon Sep 17 00:00:00 2001 From: Mary Guillemard Date: Sun, 14 Sep 2025 21:08:25 +0200 Subject: [PATCH] hk: Advertise VK_KHR_maintenance9 Signed-off-by: Mary Guillemard Acked-by: Alyssa Rosenzweig Part-of: --- docs/features.txt | 2 +- docs/relnotes/new_features.txt | 1 + src/asahi/vulkan/hk_physical_device.c | 8 ++++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/features.txt b/docs/features.txt index 14187e79d87..7560df67f24 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -555,7 +555,7 @@ Khronos extensions that are not part of any Vulkan version: VK_KHR_incremental_present DONE (anv, hasvk, hk, lvp, nvk, radv, tu, v3dv, vn) VK_KHR_maintenance7 DONE (anv, hk, lvp, nvk, panvk/v10+, radv, tu, vn) VK_KHR_maintenance8 DONE (anv, hk, lvp, nvk, panvk/v10+, radv, tu) - VK_KHR_maintenance9 DONE (anv, lvp, nvk, panvk, radv) + VK_KHR_maintenance9 DONE (anv, hk, lvp, nvk, panvk, radv) VK_KHR_performance_query DONE (anv, radv/gfx10.3+, tu, v3dv) VK_KHR_pipeline_binary DONE (radv) VK_KHR_pipeline_executable_properties DONE (anv, hk, nvk, panvk, hasvk, radv, tu, v3dv) diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index b36e9826b16..70d3b31f1f8 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -22,3 +22,4 @@ VK_AMD_buffer_marker on NVK VK_EXT_ycbcr_2plane_444_formats on radv Removed VDPAU frontend GL_NV_representative_fragment_test on zink +VK_KHR_maintenance9 on HoneyKrisp diff --git a/src/asahi/vulkan/hk_physical_device.c b/src/asahi/vulkan/hk_physical_device.c index 1b83e5d48a9..b9b237aa851 100644 --- a/src/asahi/vulkan/hk_physical_device.c +++ b/src/asahi/vulkan/hk_physical_device.c @@ -89,6 +89,7 @@ hk_get_device_extensions(const struct hk_instance *instance, .KHR_maintenance6 = true, .KHR_maintenance7 = true, .KHR_maintenance8 = true, + .KHR_maintenance9 = true, .KHR_map_memory2 = true, .KHR_multiview = true, .KHR_pipeline_executable_properties = true, @@ -393,6 +394,9 @@ hk_get_device_features( /* VK_KHR_maintenance8 */ .maintenance8 = true, + /* VK_KHR_maintenance9 */ + .maintenance9 = true, + /* VK_KHR_pipeline_executable_properties */ .pipelineExecutableInfo = true, @@ -918,6 +922,10 @@ hk_get_device_properties(const struct agx_device *dev, .maxDescriptorSetUpdateAfterBindTotalBuffersDynamic = HK_MAX_DYNAMIC_BUFFERS, + /* VK_KHR_maintenance9 */ + .image2DViewOf3DSparse = false, + .defaultVertexAttributeValue = VK_DEFAULT_VERTEX_ATTRIBUTE_VALUE_ZERO_ZERO_ZERO_ONE_KHR, + /* VK_EXT_map_memory_placed */ .minPlacedMemoryMapAlignment = os_page_size,