Frontends: Add PGXP Depth Buffer options

This commit is contained in:
Connor McLaughlin
2020-12-23 01:17:10 +10:00
parent d320d5c830
commit 744cfbd924
9 changed files with 140 additions and 52 deletions

View File

@ -106,6 +106,8 @@
<string name="settings_summary_pgxp_texture_correction">Uses perspective-correct interpolation for texture coordinates and colors, straightening out warped textures. Requires geometry correction enabled.</string>
<string name="settings_pgxp_preserve_projection_precision">PGXP Preserve Projection Precision</string>
<string name="settings_summary_pgxp_preserve_projection_precision">Enables additional precision for PGXP. May improve visuals in some games but break others.</string>
<string name="settings_pgxp_depth_buffer">PGXP Depth Buffer</string>
<string name="settings_summary_pgxp_depth_buffer">Attempts to reduce polygon Z-fighting by testing pixels against the depth values from PGXP. Low compatibility, but can work well in some games.</string>
<string name="menu_main_resume_last_session">Resume Last Session</string>
<string name="menu_main_start_file">Start File</string>
<string name="menu_main_start_bios">Start BIOS</string>

View File

@ -131,4 +131,11 @@
app:summary="@string/settings_summary_pgxp_preserve_projection_precision"
app:iconSpaceReserved="false" />
<SwitchPreferenceCompat
app:key="GPU/PGXPDepthBuffer"
app:title="@string/settings_pgxp_depth_buffer"
app:defaultValue="false"
app:summary="@string/settings_summary_pgxp_depth_buffer"
app:iconSpaceReserved="false" />
</PreferenceScreen>