From d93b49cc4fe114065d021fd10fc9d3c3cbd785ab Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Mon, 12 Dec 2022 18:45:55 +1000 Subject: [PATCH] GS: Use point sampling for shadeboost DX12/Vulkan already did, but DX11/GL used linear. --- 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 1bd583310f..19e37ac6bd 100644 --- a/pcsx2/GS/Renderers/DX11/GSDevice11.cpp +++ b/pcsx2/GS/Renderers/DX11/GSDevice11.cpp @@ -871,7 +871,7 @@ void GSDevice11::DoShadeBoost(GSTexture* sTex, GSTexture* dTex, const float para m_ctx->UpdateSubresource(m_shadeboost.cb.get(), 0, nullptr, params, 0, 0); - StretchRect(sTex, sRect, dTex, dRect, m_shadeboost.ps.get(), m_shadeboost.cb.get(), true); + StretchRect(sTex, sRect, dTex, dRect, m_shadeboost.ps.get(), m_shadeboost.cb.get(), false); } bool GSDevice11::CreateCASShaders() diff --git a/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp b/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp index c7bc65a984..d733a5f701 100644 --- a/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp +++ b/pcsx2/GS/Renderers/OpenGL/GSDeviceOGL.cpp @@ -1446,7 +1446,7 @@ void GSDeviceOGL::DoShadeBoost(GSTexture* sTex, GSTexture* dTex, const float par const GSVector4 sRect(0, 0, 1, 1); const GSVector4 dRect(0, 0, s.x, s.y); - StretchRect(sTex, sRect, dTex, dRect, m_shadeboost.ps, true); + StretchRect(sTex, sRect, dTex, dRect, m_shadeboost.ps, false); } void GSDeviceOGL::SetupDATE(GSTexture* rt, GSTexture* ds, const GSVertexPT1* vertices, bool datm)