anv: expose VK_KHR_maintenance11
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41334>
This commit is contained in:
Lionel Landwerlin 2026-02-24 14:26:46 +02:00 committed by Marge Bot
parent 8a1c9a614f
commit 0d39d4e99e

View file

@ -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);
}