rsx: More strict zcull stats enabling

This commit is contained in:
Eladash 2020-04-18 18:46:41 +03:00 committed by Ani
parent a203ff677b
commit b94e4247cc

View File

@ -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)