From 0d39d4e99ebb72a7f769deaf7da8a83ecaa99b9f Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 24 Feb 2026 14:26:46 +0200 Subject: [PATCH] anv: expose VK_KHR_maintenance11 Signed-off-by: Lionel Landwerlin Reviewed-by: Alyssa Rosenzweig Part-of: --- src/intel/vulkan/anv_physical_device.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/intel/vulkan/anv_physical_device.c b/src/intel/vulkan/anv_physical_device.c index 874e4fb8e80..2ca07d9bc3e 100644 --- a/src/intel/vulkan/anv_physical_device.c +++ b/src/intel/vulkan/anv_physical_device.c @@ -194,6 +194,7 @@ get_device_extensions(const struct anv_physical_device *device, .KHR_maintenance8 = true, .KHR_maintenance9 = true, .KHR_maintenance10 = true, + .KHR_maintenance11 = true, .KHR_map_memory2 = true, .KHR_multiview = true, .KHR_performance_query = @@ -1047,6 +1048,9 @@ get_features(const struct anv_physical_device *pdevice, /* VK_EXT_device_generated_commands */ .deviceGeneratedCommands = true, .dynamicGeneratedPipelineLayout = true, + + /* VK_KHR_maintenance11 */ + .maintenance11 = true, }; /* The new DOOM and Wolfenstein games require depthBounds without @@ -3171,6 +3175,13 @@ void anv_GetPhysicalDeviceQueueFamilyProperties2( break; } + case VK_STRUCTURE_TYPE_QUEUE_FAMILY_OPTIMAL_IMAGE_TRANSFER_GRANULARITY_PROPERTIES_KHR: { + VkQueueFamilyOptimalImageTransferGranularityPropertiesKHR *prop = + (VkQueueFamilyOptimalImageTransferGranularityPropertiesKHR *)ext; + prop->optimalImageTransferGranularity = (VkExtent3D){ 1, 1, 1, }; + break; + } + default: vk_debug_ignored_stype(ext->sType); }