aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-01-07 10:41:37 -0600
committerGitHub <noreply@github.com>2023-01-07 10:41:37 -0600
commit432d48d9c8fb179374b7b591743851b9331f9c96 (patch)
treece7d6dd08a2883a9950c9f625ab2ac8cee289052 /src/video_core/vulkan_common/vulkan_device.h
parentcc92b7fd94a1a86da4a765eaa0756642907d95dc (diff)
parent2e4dde12c7316a0bb5ab46da88601b7942013568 (diff)
Merge pull request #9570 from liamwhite/less-clock-boost
renderer_vulkan: disable clock boost on unvalidated devices
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.h')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h
index 6042046e1..4bc267163 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -106,6 +106,8 @@ public:
return driver_id;
}
+ bool ShouldBoostClocks() const;
+
/// Returns uniform buffer alignment requeriment.
VkDeviceSize GetUniformBufferAlignment() const {
return properties.limits.minUniformBufferOffsetAlignment;