GS: Fix texture offset Y vector

This commit is contained in:
refractionpcsx2 2021-12-20 16:30:26 +00:00
parent 5f57084ed9
commit 2a1c3d1f33
1 changed files with 1 additions and 1 deletions

View File

@ -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)