mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 17:58:37 +12:00
qt: Add async shaders toggle to the UI
This commit is contained in:
parent
e7f30640ef
commit
77e2af8c00
4 changed files with 43 additions and 30 deletions
|
@ -56,7 +56,8 @@
|
||||||
"forceCpuBlitEmulation": "Forces emulation of all blit and image manipulation operations on the CPU.\nRequires 'Write Color Buffers' option to also be enabled in most cases to avoid missing graphics.\nSignificantly degrades performance but is more accurate in some cases.\nThis setting overrides the 'GPU texture scaling' option.",
|
"forceCpuBlitEmulation": "Forces emulation of all blit and image manipulation operations on the CPU.\nRequires 'Write Color Buffers' option to also be enabled in most cases to avoid missing graphics.\nSignificantly degrades performance but is more accurate in some cases.\nThis setting overrides the 'GPU texture scaling' option.",
|
||||||
"disableOnDiskShaderCache": "Disables the loading and saving of shaders from and to the shader cache in the data directory.",
|
"disableOnDiskShaderCache": "Disables the loading and saving of shaders from and to the shader cache in the data directory.",
|
||||||
"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.",
|
||||||
|
"disableAsyncShaders": "Disables asynchronous shader compilation.\nFixes missing graphics while shaders are compiling but introduces stuttering.\nDisable if you do not want to deal with graphics pop-in, or for testing before filing any bug reports."
|
||||||
},
|
},
|
||||||
"emulator": {
|
"emulator": {
|
||||||
"misc": {
|
"misc": {
|
||||||
|
|
|
@ -74,6 +74,7 @@ public:
|
||||||
ForceCPUBlitEmulation,
|
ForceCPUBlitEmulation,
|
||||||
DisableOnDiskShaderCache,
|
DisableOnDiskShaderCache,
|
||||||
DisableVulkanMemAllocator,
|
DisableVulkanMemAllocator,
|
||||||
|
DisableAsyncShaderCompiler,
|
||||||
|
|
||||||
// Performance Overlay
|
// Performance Overlay
|
||||||
PerfOverlayEnabled,
|
PerfOverlayEnabled,
|
||||||
|
@ -240,14 +241,15 @@ private:
|
||||||
{ ForceHighpZ, { "Video", "Force High Precision Z buffer"}},
|
{ ForceHighpZ, { "Video", "Force High Precision Z buffer"}},
|
||||||
{ StrictRenderingMode, { "Video", "Strict Rendering Mode"}},
|
{ StrictRenderingMode, { "Video", "Strict Rendering Mode"}},
|
||||||
{ DisableVertexCache, { "Video", "Disable Vertex Cache"}},
|
{ DisableVertexCache, { "Video", "Disable Vertex Cache"}},
|
||||||
{ DisableOcclusionQueries, { "Video", "Disable ZCull Occlusion Queries" }},
|
{ DisableOcclusionQueries, { "Video", "Disable ZCull Occlusion Queries"}},
|
||||||
{ DisableFIFOReordering, { "Video", "Disable FIFO Reordering" }},
|
{ DisableFIFOReordering, { "Video", "Disable FIFO Reordering"}},
|
||||||
{ ForceCPUBlitEmulation, { "Video", "Force CPU Blit" }},
|
{ ForceCPUBlitEmulation, { "Video", "Force CPU Blit"}},
|
||||||
{ DisableOnDiskShaderCache, { "Video", "Disable On-Disk Shader Cache"}},
|
{ DisableOnDiskShaderCache, { "Video", "Disable On-Disk Shader Cache"}},
|
||||||
{ DisableVulkanMemAllocator,{ "Video", "Disable Vulkan Memory Allocator" }},
|
{ DisableVulkanMemAllocator, { "Video", "Disable Vulkan Memory Allocator"}},
|
||||||
{ AnisotropicFilterOverride,{ "Video", "Anisotropic Filter Override" }},
|
{ DisableAsyncShaderCompiler, { "Video", "Disable Asynchronous Shader Compiler"}},
|
||||||
{ ResolutionScale, { "Video", "Resolution Scale" }},
|
{ AnisotropicFilterOverride, { "Video", "Anisotropic Filter Override"}},
|
||||||
{ MinimumScalableDimension, { "Video", "Minimum Scalable Dimension" }},
|
{ ResolutionScale, { "Video", "Resolution Scale"}},
|
||||||
|
{ MinimumScalableDimension, { "Video", "Minimum Scalable Dimension"}},
|
||||||
{ D3D12Adapter, { "Video", "D3D12", "Adapter"}},
|
{ D3D12Adapter, { "Video", "D3D12", "Adapter"}},
|
||||||
{ VulkanAdapter, { "Video", "Vulkan", "Adapter"}},
|
{ VulkanAdapter, { "Video", "Vulkan", "Adapter"}},
|
||||||
|
|
||||||
|
|
|
@ -500,6 +500,9 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> guiSettings, std:
|
||||||
xemu_settings->EnhanceCheckBox(ui->disableVertexCache, emu_settings::DisableVertexCache);
|
xemu_settings->EnhanceCheckBox(ui->disableVertexCache, emu_settings::DisableVertexCache);
|
||||||
SubscribeTooltip(ui->disableVertexCache, json_gpu_main["disableVertexCache"].toString());
|
SubscribeTooltip(ui->disableVertexCache, json_gpu_main["disableVertexCache"].toString());
|
||||||
|
|
||||||
|
xemu_settings->EnhanceCheckBox(ui->disableAsyncShaders, emu_settings::DisableAsyncShaderCompiler);
|
||||||
|
SubscribeTooltip(ui->disableAsyncShaders, json_gpu_main["disableAsyncShaders"].toString());
|
||||||
|
|
||||||
xemu_settings->EnhanceCheckBox(ui->scrictModeRendering, emu_settings::StrictRenderingMode);
|
xemu_settings->EnhanceCheckBox(ui->scrictModeRendering, emu_settings::StrictRenderingMode);
|
||||||
SubscribeTooltip(ui->scrictModeRendering, json_gpu_main["scrictModeRendering"].toString());
|
SubscribeTooltip(ui->scrictModeRendering, json_gpu_main["scrictModeRendering"].toString());
|
||||||
connect(ui->scrictModeRendering, &QCheckBox::clicked, [=](bool checked)
|
connect(ui->scrictModeRendering, &QCheckBox::clicked, [=](bool checked)
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>0</number>
|
<number>1</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="coreTab">
|
<widget class="QWidget" name="coreTab">
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
|
@ -698,6 +698,13 @@
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="disableAsyncShaders">
|
||||||
|
<property name="text">
|
||||||
|
<string>Disable Async Shader Compiler</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<spacer name="verticalSpacer_12">
|
<spacer name="verticalSpacer_12">
|
||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue