From 2a1c3d1f332733cc5eafe9408e98c0334a18e368 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Mon, 20 Dec 2021 16:30:26 +0000 Subject: [PATCH] GS: Fix texture offset Y vector --- pcsx2/GS/Renderers/HW/GSRendererNew.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/Renderers/HW/GSRendererNew.cpp b/pcsx2/GS/Renderers/HW/GSRendererNew.cpp index cbc55222aa..40c5f53769 100644 --- a/pcsx2/GS/Renderers/HW/GSRendererNew.cpp +++ b/pcsx2/GS/Renderers/HW/GSRendererNew.cpp @@ -953,7 +953,7 @@ void GSRendererNew::EmulateTextureSampler(const GSTextureCache::Source* tex) m_conf.ps.tcoffsethack = m_userhacks_tcoffset; GSVector4 tc_oh_ts = GSVector4(1 / 16.0f, 1 / 16.0f, m_userhacks_tcoffset_x, m_userhacks_tcoffset_y) / WH.xyxy(); m_conf.cb_vs.texture_scale = GSVector2(tc_oh_ts.x, tc_oh_ts.y); - m_conf.cb_ps.tc_offset = GSVector2(tc_oh_ts.z, tc_oh_ts.y); + m_conf.cb_ps.tc_offset = GSVector2(tc_oh_ts.z, tc_oh_ts.w); // Must be done after all coordinates math if (m_context->HasFixedTEX0() && !PRIM->FST)