Rpcs3: MGS4 High Precision Z-buffer regression PR8869

Created on 16 Dec 2020  路  1Comment  路  Source: RPCS3/rpcs3

Issue requested by kd-11
MGS4 requires High Precision Z-buffer to properly emulate lightning in some levels of the game:
Incorrect behaviour
42
Correct behaviour via using High Precision Z-buffer
41
Yet game no longer reacts on using this option, regressed since
https://github.com/RPCS3/rpcs3/pull/8869

RSX Regression

Most helpful comment

Game uses depth-float and worked by accident before. The current code treats Z buffer as int when doing compare, this needs to be modified for depth-float games like this one. With the rest of the pipeline being float-aware, it's likely the last remaining part that doesn't obey floating point rules.
I'll push a fix soon.

>All comments

Game uses depth-float and worked by accident before. The current code treats Z buffer as int when doing compare, this needs to be modified for depth-float games like this one. With the rest of the pipeline being float-aware, it's likely the last remaining part that doesn't obey floating point rules.
I'll push a fix soon.

Was this page helpful?
0 / 5 - 0 ratings