From e67aa73e75a6f42efcf3b664f34921cd180d14fa Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Mon, 20 Mar 2023 15:32:47 +0000 Subject: [PATCH] GS-HW: Round up rect for hardware draws --- pcsx2/GS/Renderers/HW/GSRendererHW.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp index d595fe9f18..6e2dee6c5d 100644 --- a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp +++ b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp @@ -1574,8 +1574,9 @@ void GSRendererHW::Draw() } } - // The rectangle of the draw - m_r = GSVector4i(m_vt.m_min.p.xyxy(m_vt.m_max.p)).rintersect(GSVector4i(context->scissor.in)); + // The rectangle of the draw rounded up. + const GSVector4 rect = m_vt.m_min.p.xyxy(m_vt.m_max.p) + GSVector4(0.0f, 0.0f, 0.5f, 0.5f); + m_r = GSVector4i(rect).rintersect(GSVector4i(context->scissor.in)); if (m_channel_shuffle) {