Skip to content

Commit

Permalink
GS: remove bw equality check in tex in rt.
Browse files Browse the repository at this point in the history
fixes jak mipmapping.
  • Loading branch information
iMineLink authored and refractionpcsx2 committed Feb 6, 2022
1 parent 8ac57db commit b8188a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pcsx2/GS/Renderers/HW/GSTextureCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,9 @@ GSTextureCache::Source* GSTextureCache::LookupSource(const GIFRegTEX0& TEX0, con
found_t = true;
break;
}
else if (texture_inside_rt && bw == t->m_TEX0.TBW && psm == PSM_PSMCT32 && t->m_TEX0.PSM == psm &&
else if (texture_inside_rt && psm == PSM_PSMCT32 && t->m_TEX0.PSM == psm &&
((t->m_TEX0.TBP0 < bp && t->m_end_block >= bp) || t_wraps))
{
// BW equality needed because CreateSource does not handle BW conversion.
// Only PSMCT32 to limit false hits.
// PSM equality needed because CreateSource does not handle PSM conversion.
// Only inclusive hit to limit false hits.
Expand Down

0 comments on commit b8188a7

Please sign in to comment.