From 6da6de8201329785bf045243d24f8c6eb9fdd0d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 30 Jul 2023 11:13:42 +0200 Subject: [PATCH] Re-enable framebuffer fetch for blend where available. Accidentally disabled this in #17575 Helps #17797 but only on OpenGL on mobile. There's more to improve there. caps_.framebufferFetchSupported is now always set to false in Vulkan. --- GPU/GPUCommonHW.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GPU/GPUCommonHW.cpp b/GPU/GPUCommonHW.cpp index d9bcae2087f4..ffdf75c0d09a 100644 --- a/GPU/GPUCommonHW.cpp +++ b/GPU/GPUCommonHW.cpp @@ -607,6 +607,10 @@ u32 GPUCommonHW::CheckGPUFeatures() const { features |= GPU_USE_VS_RANGE_CULLING; } + if (draw_->GetDeviceCaps().framebufferFetchSupported) { + features |= GPU_USE_FRAMEBUFFER_FETCH; + } + if (draw_->GetShaderLanguageDesc().bitwiseOps) { features |= GPU_USE_LIGHT_UBERSHADER; }