mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Add compat setting to force using maximum depth resolution
Fixes #17014 Even if our depth-testing-equal heuristic believes that the game needs lower depth resolution. This removes some depth-fighting artifacts (that are present on the real PSP, but nice to avoid) in Outrun, Split/Second and Cars: Race-o-Rama - essentially reverting these to the behavior we had before the heuristic. (The heuristic is good though - it means less compat.ini hacks going in the other direction). In the case of Outrun, this relies on two passes that pass exactly the same vertex coordinates twice resulting in the exact same final geometry. This is actually guaranteed by the spec if the vertex math is exactly the same and "invariant" is set on the position output, though I guess you never know.. Haven't seen any issues at least. Also sneak in disabling some validation messages from using extra Vulkan validation layers other than the default.
This commit is contained in:
1 parent
afb17119b7
commit
b13c5c2d1b
9 files changed
+40
-19
No files matched your search
@@ -129,6 +129,7 @@ void Compatibility::CheckSettings(IniFile &iniFile, const std::string &gameID) {
|
||||
CheckSetting(iniFile, gameID, "ReadbackDepth", &flags_.ReadbackDepth);
|
||||
CheckSetting(iniFile, gameID, "BlockTransferDepth", &flags_.BlockTransferDepth);
|
||||
CheckSetting(iniFile, gameID, "DaxterRotatedAnalogStick", &flags_.DaxterRotatedAnalogStick);
|
||||
CheckSetting(iniFile, gameID, "ForceMaxDepthResolution", &flags_.ForceMaxDepthResolution);
|
||||
}
|
||||
|
||||
void Compatibility::CheckVRSettings(IniFile &iniFile, const std::string &gameID) {
|
||||
|
||||
Reference in new issue
Block a user