mirror of https://github.com/PCSX2/pcsx2.git
parent
91e07727e3
commit
02b0451d3c
|
@ -856,8 +856,8 @@ void GSTextureCache::InvalidateLocalMem(GSOffset* off, const GSVector4i& r)
|
||||||
if (m_can_convert_depth) {
|
if (m_can_convert_depth) {
|
||||||
for(auto t : m_dst[DepthStencil]) {
|
for(auto t : m_dst[DepthStencil]) {
|
||||||
if(GSUtil::HasSharedBits(bp, psm, t->m_TEX0.TBP0, t->m_TEX0.PSM)) {
|
if(GSUtil::HasSharedBits(bp, psm, t->m_TEX0.TBP0, t->m_TEX0.PSM)) {
|
||||||
// Read the full depth buffer for easy testing
|
if (GSUtil::HasCompatibleBits(psm, t->m_TEX0.PSM))
|
||||||
Read(t, t->m_valid);
|
Read(t, r.rintersect(t->m_valid));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue