liverpool: Disable depth clip when near and far planes have different setting

This commit is contained in:
IndecisiveTurtle 2025-07-14 17:40:47 +03:00
parent 4375fad6d1
commit 38efe453e8

View File

@ -526,7 +526,9 @@ struct Liverpool {
BitField<27, 1, u32> zclip_far_disable;
bool ZclipEnable() const {
ASSERT(zclip_near_disable == zclip_far_disable);
if (zclip_near_disable != zclip_far_disable) {
return false;
}
return !zclip_near_disable;
}
};