mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
Add max SPURS threads to settings
This commit is contained in:
parent
e3f68c66d8
commit
164a7636bf
4 changed files with 27 additions and 1 deletions
|
@ -65,7 +65,8 @@
|
||||||
"disableVulkanMemAllocator": "Disables the custom Vulkan memory allocator and reverts to direct calls to VkAllocateMemory/VkFreeMemory.",
|
"disableVulkanMemAllocator": "Disables the custom Vulkan memory allocator and reverts to direct calls to VkAllocateMemory/VkFreeMemory.",
|
||||||
"disableFIFOReordering": "Disables RSX FIFO optimizations completely. Draws are processed as they are received by the DMA puller.",
|
"disableFIFOReordering": "Disables RSX FIFO optimizations completely. Draws are processed as they are received by the DMA puller.",
|
||||||
"gpuTextureScaling": "Force all texture transfer, scaling and conversion operations on the GPU.\nMay cause texture corruption in some cases.",
|
"gpuTextureScaling": "Force all texture transfer, scaling and conversion operations on the GPU.\nMay cause texture corruption in some cases.",
|
||||||
"strictTextureFlushing": "Forces texture flushing even in situations where it is not necessary/correct. Known to cause visual artifacts, but useful for debugging certain texture cache issues."
|
"strictTextureFlushing": "Forces texture flushing even in situations where it is not necessary/correct. Known to cause visual artifacts, but useful for debugging certain texture cache issues.",
|
||||||
|
"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."
|
||||||
},
|
},
|
||||||
"emulator": {
|
"emulator": {
|
||||||
"misc": {
|
"misc": {
|
||||||
|
|
|
@ -47,6 +47,7 @@ public:
|
||||||
SPUCache,
|
SPUCache,
|
||||||
SPUVerification,
|
SPUVerification,
|
||||||
DebugConsoleMode,
|
DebugConsoleMode,
|
||||||
|
MaxSPURSThreads,
|
||||||
|
|
||||||
// Graphics
|
// Graphics
|
||||||
Renderer,
|
Renderer,
|
||||||
|
@ -256,6 +257,7 @@ private:
|
||||||
{ SPUCache, { "Core", "SPU Cache"}},
|
{ SPUCache, { "Core", "SPU Cache"}},
|
||||||
{ SPUVerification, { "Core", "SPU Verification"}},
|
{ SPUVerification, { "Core", "SPU Verification"}},
|
||||||
{ DebugConsoleMode, { "Core", "Debug Console Mode"}},
|
{ DebugConsoleMode, { "Core", "Debug Console Mode"}},
|
||||||
|
{ MaxSPURSThreads, { "Core", "Max SPURS Threads"}},
|
||||||
|
|
||||||
// Graphics Tab
|
// Graphics Tab
|
||||||
{ Renderer, { "Video", "Renderer"}},
|
{ Renderer, { "Video", "Renderer"}},
|
||||||
|
|
|
@ -1364,6 +1364,11 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> guiSettings, std:
|
||||||
xemu_settings->EnhanceCheckBox(ui->debugConsoleMode, emu_settings::DebugConsoleMode);
|
xemu_settings->EnhanceCheckBox(ui->debugConsoleMode, emu_settings::DebugConsoleMode);
|
||||||
SubscribeTooltip(ui->debugConsoleMode, json_debug["debugConsoleMode"].toString());
|
SubscribeTooltip(ui->debugConsoleMode, json_debug["debugConsoleMode"].toString());
|
||||||
|
|
||||||
|
// Comboboxes
|
||||||
|
xemu_settings->EnhanceComboBox(ui->maxSPURSThreads, emu_settings::MaxSPURSThreads, true);
|
||||||
|
ui->maxSPURSThreads->setItemText(ui->maxSPURSThreads->findData("6"), tr("Unlimited (Default)"));
|
||||||
|
SubscribeTooltip(ui->maxSPURSThreads, json_debug["maxSPURSThreads"].toString());
|
||||||
|
|
||||||
// Layout fix for High Dpi
|
// Layout fix for High Dpi
|
||||||
layout()->setSizeConstraint(QLayout::SetFixedSize);
|
layout()->setSizeConstraint(QLayout::SetFixedSize);
|
||||||
}
|
}
|
||||||
|
|
|
@ -2336,6 +2336,24 @@
|
||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QGroupBox" name="gb_max_spurs_threads">
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="title">
|
||||||
|
<string>Maximum Number of SPURS Threads</string>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_76">
|
||||||
|
<item>
|
||||||
|
<widget class="QComboBox" name="maxSPURSThreads"/>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue