mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 10:04:39 +00:00
liverpool: Disable depth clip when near and far planes have different setting
This commit is contained in:
parent
4375fad6d1
commit
38efe453e8
@ -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;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user