From e035000864260a754c6f486a1004a9cd9fea1341 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Fri, 25 Feb 2022 21:59:09 +0300 Subject: [PATCH] vk: Do not enable passthrough DMA unconditionally (yet) - There are still some kinks to work out. Host labels do not fix all the bugs which means I missed something. --- rpcs3/Emu/RSX/VK/VKGSRender.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rpcs3/Emu/RSX/VK/VKGSRender.cpp b/rpcs3/Emu/RSX/VK/VKGSRender.cpp index c7e50776b..0fcce472a 100644 --- a/rpcs3/Emu/RSX/VK/VKGSRender.cpp +++ b/rpcs3/Emu/RSX/VK/VKGSRender.cpp @@ -641,6 +641,14 @@ VKGSRender::VKGSRender() : GSRender() backend_config.supports_host_gpu_labels = false; } } + + if (!backend_config.supports_host_gpu_labels && + !backend_config.supports_asynchronous_compute) + { + // Disable passthrough DMA unless we enable a feature that requires it. + // I'm avoiding an explicit checkbox for this until I figure out why host labels don't fix all problems with passthrough. + backend_config.supports_passthrough_dma = false; + } } VKGSRender::~VKGSRender()