mirror of https://github.com/PCSX2/pcsx2.git
GS/HW: Don't try to use forced trilinear on shuffles
This commit is contained in:
parent
559b88438b
commit
0bd57986a9
|
@ -3670,7 +3670,7 @@ __ri void GSRendererHW::EmulateTextureSampler(const GSTextureCache::Target* rt,
|
||||||
// We don't need to check for HWMipmapLevel::Off here, because forced trilinear implies forced mipmaps.
|
// We don't need to check for HWMipmapLevel::Off here, because forced trilinear implies forced mipmaps.
|
||||||
bilinear = true;
|
bilinear = true;
|
||||||
trilinear = static_cast<u8>(GS_MIN_FILTER::Linear_Mipmap_Linear);
|
trilinear = static_cast<u8>(GS_MIN_FILTER::Linear_Mipmap_Linear);
|
||||||
trilinear_auto = !need_mipmap || GSConfig.HWMipmap != HWMipmapLevel::Full;
|
trilinear_auto = !tex->m_target && (!need_mipmap || GSConfig.HWMipmap != HWMipmapLevel::Full);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -3680,7 +3680,7 @@ __ri void GSRendererHW::EmulateTextureSampler(const GSTextureCache::Target* rt,
|
||||||
if (need_mipmap && GSConfig.HWMipmap != HWMipmapLevel::Off)
|
if (need_mipmap && GSConfig.HWMipmap != HWMipmapLevel::Off)
|
||||||
{
|
{
|
||||||
trilinear = m_context->TEX1.MMIN;
|
trilinear = m_context->TEX1.MMIN;
|
||||||
trilinear_auto = GSConfig.HWMipmap != HWMipmapLevel::Full;
|
trilinear_auto = !tex->m_target && GSConfig.HWMipmap != HWMipmapLevel::Full;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -3884,7 +3884,7 @@ __ri void GSRendererHW::EmulateTextureSampler(const GSTextureCache::Target* rt,
|
||||||
}
|
}
|
||||||
else if (trilinear_auto)
|
else if (trilinear_auto)
|
||||||
{
|
{
|
||||||
m_conf.tex->GenerateMipmapsIfNeeded();
|
tex->m_texture->GenerateMipmapsIfNeeded();
|
||||||
}
|
}
|
||||||
|
|
||||||
// TC Offset Hack
|
// TC Offset Hack
|
||||||
|
|
Loading…
Reference in New Issue