summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-01-07 17:41:37 +0100
committerGitHub <noreply@github.com>2023-01-07 17:41:37 +0100
commit432d48d9c8fb179374b7b591743851b9331f9c96 (patch)
treece7d6dd08a2883a9950c9f625ab2ac8cee289052 /src/video_core/renderer_vulkan
parentMerge pull request #9573 from liamwhite/optional (diff)
parentrenderer_vulkan: disable clock boost on unvalidated devices (diff)
downloadyuzu-432d48d9c8fb179374b7b591743851b9331f9c96.tar
yuzu-432d48d9c8fb179374b7b591743851b9331f9c96.tar.gz
yuzu-432d48d9c8fb179374b7b591743851b9331f9c96.tar.bz2
yuzu-432d48d9c8fb179374b7b591743851b9331f9c96.tar.lz
yuzu-432d48d9c8fb179374b7b591743851b9331f9c96.tar.xz
yuzu-432d48d9c8fb179374b7b591743851b9331f9c96.tar.zst
yuzu-432d48d9c8fb179374b7b591743851b9331f9c96.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/renderer_vulkan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/renderer_vulkan.cpp b/src/video_core/renderer_vulkan/renderer_vulkan.cpp
index 1578cb206..52855120c 100644
--- a/src/video_core/renderer_vulkan/renderer_vulkan.cpp
+++ b/src/video_core/renderer_vulkan/renderer_vulkan.cpp
@@ -110,7 +110,7 @@ RendererVulkan::RendererVulkan(Core::TelemetrySession& telemetry_session_,
screen_info),
rasterizer(render_window, gpu, cpu_memory, screen_info, device, memory_allocator,
state_tracker, scheduler) {
- if (Settings::values.renderer_force_max_clock.GetValue()) {
+ if (Settings::values.renderer_force_max_clock.GetValue() && device.ShouldBoostClocks()) {
turbo_mode.emplace(instance, dld);
}
Report();