GS: Only clamp tex coords to bounds in hardware.

This commit is contained in:
refractionpcsx2 2023-07-12 01:39:11 +01:00
parent f201a2e5dd
commit 719b83bf42
1 changed files with 1 additions and 1 deletions

View File

@ -3514,7 +3514,7 @@ GSState::TextureMinMaxResult GSState::GetTextureMinMax(GIFRegTEX0 TEX0, GIFRegCL
// If it's the start of the texture and our little adjustment is all that pushed it over, clamp it to 0.
// This stops the border check failing when using repeat but needed less than the full texture
// since this was making it take the full texture even though it wasn't needed.
if (((m_vt.m_min.t == GSVector4::zero()).mask() & 0x3) == 0x3)
if (!clamp_to_tsize && ((m_vt.m_min.t == GSVector4::zero()).mask() & 0x3) == 0x3)
st = st.max(GSVector4::zero());
}
else