From 2f8c98dccfebdd65ce01f36c69d76d338f04a342 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Thu, 14 May 2026 15:56:44 +0200 Subject: [PATCH] GS/DX11/GL: Fix barrier typo, should check alpha second pass barrier. --- pcsx2/GS/Renderers/DX11/GSDevice11.cpp | 2 +- pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/GS/Renderers/DX11/GSDevice11.cpp b/pcsx2/GS/Renderers/DX11/GSDevice11.cpp index 56e9e34e1f..19edb46b0e 100644 --- a/pcsx2/GS/Renderers/DX11/GSDevice11.cpp +++ b/pcsx2/GS/Renderers/DX11/GSDevice11.cpp @@ -2955,7 +2955,7 @@ void GSDevice11::RenderHW(GSHWDrawConfig& config) (rt_feedbackloop_pass1 || rt_feedbackloop_pass2)))) { config.require_one_barrier |= (tex_is_fb && !config.require_full_barrier); - config.alpha_second_pass.require_one_barrier |= (tex_is_fb && !config.require_full_barrier); + config.alpha_second_pass.require_one_barrier |= (tex_is_fb && !config.alpha_second_pass.require_full_barrier); // Requires a copy of the RT. draw_rt_clone = CreateTexture(rtsize.x, rtsize.y, 1, draw_rt->GetFormat(), true); diff --git a/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp b/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp index cefef55b9c..1f3e274c01 100644 --- a/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp +++ b/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp @@ -2950,7 +2950,7 @@ void GSDeviceOGL::RenderHW(GSHWDrawConfig& config) (rt_feedbackloop_pass1 || rt_feedbackloop_pass2)))) { config.require_one_barrier |= (tex_is_fb && !config.require_full_barrier); - config.alpha_second_pass.require_one_barrier |= (tex_is_fb && !config.require_full_barrier); + config.alpha_second_pass.require_one_barrier |= (tex_is_fb && !config.alpha_second_pass.require_full_barrier); // Requires a copy of the RT. draw_rt_clone = CreateTexture(rtsize.x, rtsize.y, 1, draw_rt->GetFormat(), true);