diff --git a/src/gallium/drivers/zink/zink_device_info.py b/src/gallium/drivers/zink/zink_device_info.py index 60bcfdc2eee..aee5b1075d6 100644 --- a/src/gallium/drivers/zink/zink_device_info.py +++ b/src/gallium/drivers/zink/zink_device_info.py @@ -61,6 +61,7 @@ import sys EXTENSIONS = [ Extension("VK_KHR_maintenance1", required=True), + Extension("VK_KHR_maintenance2"), Extension("VK_KHR_external_memory"), Extension("VK_KHR_external_memory_fd"), Extension("VK_KHR_vulkan_memory_model"), diff --git a/src/gallium/drivers/zink/zink_instance.py b/src/gallium/drivers/zink/zink_instance.py index 8758331a0be..a57ee32bcd6 100644 --- a/src/gallium/drivers/zink/zink_instance.py +++ b/src/gallium/drivers/zink/zink_instance.py @@ -42,7 +42,6 @@ import sys # will be added by the codegen accordingly. EXTENSIONS = [ Extension("VK_EXT_debug_utils"), - Extension("VK_KHR_maintenance2"), Extension("VK_KHR_get_physical_device_properties2", functions=["GetPhysicalDeviceFeatures2", "GetPhysicalDeviceProperties2"]), Extension("VK_KHR_draw_indirect_count", diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c index a7b598b7c31..56cd9b79f5e 100644 --- a/src/gallium/drivers/zink/zink_screen.c +++ b/src/gallium/drivers/zink/zink_screen.c @@ -423,7 +423,7 @@ zink_get_shader_param(struct pipe_screen *pscreen, case PIPE_SHADER_TESS_EVAL: if (screen->info.have_KHR_vulkan_memory_model && screen->info.feats.features.tessellationShader && - screen->instance_info.have_KHR_maintenance2) + screen->info.have_KHR_maintenance2) return INT_MAX; break;