From f501f9453adc7024584e9d9598754c55c36d20f3 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 10 Aug 2023 08:58:01 -0400 Subject: [PATCH] zink: use maintenance5 Part-of: --- src/gallium/drivers/zink/VP_ZINK_requirements.json | 6 +++++- src/gallium/drivers/zink/zink_device_info.py | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/VP_ZINK_requirements.json b/src/gallium/drivers/zink/VP_ZINK_requirements.json index 9eb91ee..5dd50f0 100644 --- a/src/gallium/drivers/zink/VP_ZINK_requirements.json +++ b/src/gallium/drivers/zink/VP_ZINK_requirements.json @@ -152,7 +152,8 @@ "extensions": { "VK_KHR_maintenance2": 1, "VK_KHR_maintenance3": 1, - "VK_KHR_maintenance4": 1 + "VK_KHR_maintenance4": 1, + "VK_KHR_maintenance5": 1 }, "features": { "VkPhysicalDeviceFeatures": { @@ -162,6 +163,9 @@ }, "VkPhysicalDeviceMaintenance4Features": { "maintenance4": true + }, + "VkPhysicalDeviceMaintenance5Features": { + "maintenance5": true } }, "formats": { diff --git a/src/gallium/drivers/zink/zink_device_info.py b/src/gallium/drivers/zink/zink_device_info.py index 878e047..3d5e9cc 100644 --- a/src/gallium/drivers/zink/zink_device_info.py +++ b/src/gallium/drivers/zink/zink_device_info.py @@ -66,6 +66,9 @@ EXTENSIONS = [ Extension("VK_KHR_maintenance4", alias="maint4", features=True), + Extension("VK_KHR_maintenance5", + alias="maint5", + features=True, properties=True), Extension("VK_KHR_external_memory"), Extension("VK_KHR_external_memory_fd"), Extension("VK_KHR_vulkan_memory_model"), -- 2.7.4