CPU/Recompiler: Implement PGXP CPU mode

This commit is contained in:
Connor McLaughlin
2021-02-18 00:40:06 +10:00
parent 0bfa1bf873
commit bc021ddfd9
3 changed files with 152 additions and 23 deletions

View File

@ -233,6 +233,7 @@ struct Settings
}
ALWAYS_INLINE bool UsingPGXPDepthBuffer() const { return gpu_pgxp_enable && gpu_pgxp_depth_buffer; }
ALWAYS_INLINE bool UsingPGXPCPUMode() const { return gpu_pgxp_enable && gpu_pgxp_cpu; }
ALWAYS_INLINE float GetPGXPDepthClearThreshold() const { return gpu_pgxp_depth_clear_threshold * 4096.0f; }
ALWAYS_INLINE void SetPGXPDepthClearThreshold(float value) { gpu_pgxp_depth_clear_threshold = value / 4096.0f; }