From 8cb680f34e708fb44bd679afa0b0340962669b5e Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Tue, 18 Jan 2022 02:17:17 +0100 Subject: [PATCH] GS-hw: Remove fbmask check for Genji. Fb will be read when primitives don't overlap, no need for the mask check now. --- pcsx2/GS/Renderers/HW/GSRendererNew.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/GS/Renderers/HW/GSRendererNew.cpp b/pcsx2/GS/Renderers/HW/GSRendererNew.cpp index d7cc33a467..80b0b6a81f 100644 --- a/pcsx2/GS/Renderers/HW/GSRendererNew.cpp +++ b/pcsx2/GS/Renderers/HW/GSRendererNew.cpp @@ -206,13 +206,13 @@ void GSRendererNew::EmulateTextureShuffleAndFbmask() case AccBlendLevel::Medium: // Enable Fbmask emulation excluding triangle class because it is quite slow. // Exclude 0x80000000 because Genji needs sw blending, otherwise it breaks some effects. - enable_fbmask_emulation = ((m_vt.m_primclass != GS_TRIANGLE_CLASS) && (m_context->FRAME.FBMSK != 0x80000000)); + enable_fbmask_emulation = (m_vt.m_primclass != GS_TRIANGLE_CLASS); break; case AccBlendLevel::Basic: // Enable Fbmask emulation excluding triangle class because it is quite slow. // Exclude 0x80000000 because Genji needs sw blending, otherwise it breaks some effects. // Also exclude fbmask emulation on texture shuffle just in case, it is probably safe tho. - enable_fbmask_emulation = (!m_texture_shuffle && (m_vt.m_primclass != GS_TRIANGLE_CLASS) && (m_context->FRAME.FBMSK != 0x80000000)); + enable_fbmask_emulation = !m_texture_shuffle && (m_vt.m_primclass != GS_TRIANGLE_CLASS); break; case AccBlendLevel::Minimum: break;