1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

settings: Add relaxed zcull toggle to advanced tab

This commit is contained in:
kd-11 2019-12-23 14:27:03 +03:00 committed by kd-11
parent 24cb48971e
commit 1b27ccecf8
4 changed files with 15 additions and 2 deletions

View File

@ -12,6 +12,7 @@
"readDepth": "Initializes render target memory using vm memory.",
"dumpDepth": "Writes depth buffer values to vm memory.",
"disableOnDiskShaderCache": "Disables the loading and saving of shaders from and to the shader cache in the data directory.",
"relaxedZCULL": "Changes ZCULL report synchronization behaviour to be more forgiving to PC architecture.\nCan improve performance in some games but can also cause stability issues or drastically reduced performance in others.\nUse with caution and if performance or stability is compromised, keep this disabled.",
"maxSPURSThreads": "Limits the maximum number of SPURS threads in each thread group.\nMay improve performance in some cases, especially on systems with limited number of hardware threads.\nLimiting the number of threads is likely to cause crashes; it's recommended to keep this at default value.",
"sleepTimersAccuracy": "Changes the sleep period accuracy.\n'As Host' uses default accuracy of the underlying operating system, while 'All Timers' attempts to improve it.\n'Usleep Only' limits the adjustments to usleep syscall only.\nCan affect perfomance in unexpected ways.",
"vblankRate": "Adjusts the frequency of vertical blanking signals that the emulator sends.\nAffects timing of events which rely on these signals.",

View File

@ -83,6 +83,7 @@ public:
DisableAsyncShaderCompiler,
MultithreadedRSX,
VBlankRate,
RelaxedZCULL,
// Performance Overlay
PerfOverlayEnabled,
@ -307,6 +308,7 @@ private:
{ DisableVulkanMemAllocator, { "Video", "Disable Vulkan Memory Allocator"}},
{ DisableAsyncShaderCompiler, { "Video", "Disable Asynchronous Shader Compiler"}},
{ MultithreadedRSX, { "Video", "Multithreaded RSX"}},
{ RelaxedZCULL, { "Video", "Relaxed ZCULL Sync"}},
{ AnisotropicFilterOverride, { "Video", "Anisotropic Filter Override"}},
{ ResolutionScale, { "Video", "Resolution Scale"}},
{ MinimumScalableDimension, { "Video", "Minimum Scalable Dimension"}},

View File

@ -923,6 +923,9 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> guiSettings, std:
xemu_settings->EnhanceCheckBox(ui->disableOnDiskShaderCache, emu_settings::DisableOnDiskShaderCache);
SubscribeTooltip(ui->disableOnDiskShaderCache, json_advanced["disableOnDiskShaderCache"].toString());
xemu_settings->EnhanceCheckBox(ui->relaxedZCULL, emu_settings::RelaxedZCULL);
SubscribeTooltip(ui->relaxedZCULL, json_advanced["relaxedZCULL"].toString());
// Comboboxes
xemu_settings->EnhanceComboBox(ui->maxSPURSThreads, emu_settings::MaxSPURSThreads, true);

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>753</width>
<height>597</height>
<height>620</height>
</rect>
</property>
<property name="sizePolicy">
@ -36,7 +36,7 @@
</sizepolicy>
</property>
<property name="currentIndex">
<number>0</number>
<number>6</number>
</property>
<widget class="QWidget" name="coreTab">
<attribute name="title">
@ -1749,6 +1749,13 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="relaxedZCULL">
<property name="text">
<string>Relaxed ZCULL Sync</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>