From ee4f498a136c541cf28d196fc8c80e1bb3054467 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Thu, 3 Feb 2022 23:37:01 +0100 Subject: [PATCH] GS-hw: Re add alpha c check for clr_blend1_2. Removed it by accident, nobody saw nothing. --- pcsx2/GS/Renderers/HW/GSRendererNew.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcsx2/GS/Renderers/HW/GSRendererNew.cpp b/pcsx2/GS/Renderers/HW/GSRendererNew.cpp index 483484b9f5..de7425ad75 100644 --- a/pcsx2/GS/Renderers/HW/GSRendererNew.cpp +++ b/pcsx2/GS/Renderers/HW/GSRendererNew.cpp @@ -573,6 +573,7 @@ void GSRendererNew::EmulateBlending(bool& DATE_PRIMID, bool& DATE_BARRIER) // BLEND_C_CLR1 with As/F, BLEND_C_CLR2_AF, BLEND_C_CLR2_AS can be done in hw. const bool clr_blend = !!(blend_flag & (BLEND_C_CLR1 | BLEND_C_CLR2_AF | BLEND_C_CLR2_AS | BLEND_C_CLR3)); const bool clr_blend1_2 = (blend_flag & (BLEND_C_CLR1 | BLEND_C_CLR2_AF | BLEND_C_CLR2_AS)) + && (ALPHA.C != 1) // Make sure it isn't an Ad case && !m_env.PABE.PABE // No PABE as it will require sw blending. && (m_env.COLCLAMP.CLAMP) // Let's add a colclamp check too, hw blend will clamp to 0-1. && !(m_conf.require_one_barrier || m_conf.require_full_barrier); // Also don't run if there are barriers present.