GS/HW: Exclude date check for late draw cancel.

No rt change, no rgba write, no depth write, no need to check date this late.
This commit is contained in:
lightningterror 2025-12-06 01:21:25 +01:00
parent 80ffb82a4a
commit 38f61b9658

View File

@ -7681,7 +7681,7 @@ __ri void GSRendererHW::DrawPrims(GSTextureCache::Target* rt, GSTextureCache::Ta
}
// Similar to IsRTWritten(), check if the rt will change.
const bool no_rt = !rt || !(DATE || m_conf.colormask.wrgba || m_channel_shuffle);
const bool no_rt = !rt || !(m_conf.colormask.wrgba || m_channel_shuffle);
const bool no_ds = !ds ||
// Depth will be written through the RT.
(!no_rt && m_cached_ctx.FRAME.FBP == m_cached_ctx.ZBUF.ZBP && !PRIM->TME && m_cached_ctx.ZBUF.ZMSK == 0 &&