From b94e4247ccf867b2026303ae30a8c1a1777e481a Mon Sep 17 00:00:00 2001 From: Eladash Date: Sat, 18 Apr 2020 18:46:41 +0300 Subject: [PATCH] rsx: More strict zcull stats enabling --- rpcs3/Emu/RSX/RSXThread.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/RSXThread.cpp b/rpcs3/Emu/RSX/RSXThread.cpp index 7c100f870c..c14b651b92 100644 --- a/rpcs3/Emu/RSX/RSXThread.cpp +++ b/rpcs3/Emu/RSX/RSXThread.cpp @@ -2137,7 +2137,9 @@ namespace rsx //Find zeta address in bound zculls for (const auto& zcull : zculls) { - if (zcull.bound) + if (zcull.bound && + rsx::to_surface_depth_format(zcull.zFormat) == m_depth_surface_info.depth_format && + rsx::to_surface_antialiasing(zcull.aaFormat) == rsx::method_registers.surface_antialias()) { const u32 rsx_address = rsx::get_address(zcull.offset, CELL_GCM_LOCATION_LOCAL, HERE); if (rsx_address == zeta_address)