From ec0c377cf8cf5ca9496dc3786077d3aba79b06d5 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Wed, 10 Aug 2022 01:03:37 +0200 Subject: [PATCH] [dxvk] Disable maintenance4 feature We don't *really* need it (although some of the guarantees are nice to have). For some reason, this completely destroys GPU-bound performance on AMDVLK and AMD's Windows driver. --- src/dxvk/dxvk_adapter.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/dxvk/dxvk_adapter.cpp b/src/dxvk/dxvk_adapter.cpp index 11982556..da591277 100644 --- a/src/dxvk/dxvk_adapter.cpp +++ b/src/dxvk/dxvk_adapter.cpp @@ -364,7 +364,6 @@ namespace dxvk { // Core features that we're relying on in various places enabledFeatures.vk13.synchronization2 = VK_TRUE; enabledFeatures.vk13.dynamicRendering = VK_TRUE; - enabledFeatures.vk13.maintenance4 = VK_TRUE; // Used for both pNext shader module info, and fast-linking pipelines provided // that graphicsPipelineLibraryIndependentInterpolationDecoration is supported @@ -823,7 +822,6 @@ namespace dxvk { "\n shaderZeroInitializeWorkgroupMemory : ", features.vk13.shaderZeroInitializeWorkgroupMemory, "\n synchronization2 : ", features.vk13.synchronization2, "\n dynamicRendering : ", features.vk13.dynamicRendering, - "\n maintenance4 : ", features.vk13.maintenance4, "\n", VK_EXT_ATTACHMENT_FEEDBACK_LOOP_LAYOUT_EXTENSION_NAME, "\n attachmentFeedbackLoopLayout : ", features.extAttachmentFeedbackLoopLayout.attachmentFeedbackLoopLayout ? "1" : "0", "\n", VK_EXT_CUSTOM_BORDER_COLOR_EXTENSION_NAME,