From e1d2d4b8633569f294c6a50ef457d9211fa4a149 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Thu, 20 Jan 2022 04:08:57 +0100 Subject: [PATCH] GS-hw: Fix interaction with hdr and sw colclip on PABE. PABE will do full sw blend so we need to disable hdr and enable sw colclip instead. --- pcsx2/GS/Renderers/HW/GSRendererNew.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pcsx2/GS/Renderers/HW/GSRendererNew.cpp b/pcsx2/GS/Renderers/HW/GSRendererNew.cpp index e51b317685..455b2442cd 100644 --- a/pcsx2/GS/Renderers/HW/GSRendererNew.cpp +++ b/pcsx2/GS/Renderers/HW/GSRendererNew.cpp @@ -660,6 +660,13 @@ void GSRendererNew::EmulateBlending(bool& DATE_PRIMID, bool& DATE_BARRIER) accumulation_blend = false; blend_mix = false; m_conf.ps.pabe = 1; + + // HDR mode should be disabled when doing sw blend, swap with sw colclip. + if (m_conf.ps.hdr) + { + m_conf.ps.hdr = 0; + m_conf.ps.colclip = 1; + } } else {