aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-07-03 23:48:41 -0700
committerGitHub <noreply@github.com>2023-07-03 23:48:41 -0700
commitbfa270e59bfca3abdfcb3653b4f405c3fb9d2e08 (patch)
tree2d3b0a10a59f3894f1ab181a6a52d4d282604cbe /src/video_core/vulkan_common/vulkan_device.h
parentd8cda2c0b64a4b6f6f5893118bfcc6456896c1d0 (diff)
parent66a20ecbc78a4fbcfdfca86be991b6e42672fa46 (diff)
Merge pull request #11017 from bunnei/fix-turnip-sd870
video_core: vulkan_device: Disable timeline semaphore on Turnip, fix qcom version check.
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.h')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h
index 3ace1fb03f..be3ed45ff8 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -528,13 +528,7 @@ public:
return extensions.shader_atomic_int64;
}
- bool HasTimelineSemaphore() const {
- if (GetDriverID() == VK_DRIVER_ID_QUALCOMM_PROPRIETARY) {
- // Timeline semaphores do not work properly on all Qualcomm drivers.
- return false;
- }
- return features.timeline_semaphore.timelineSemaphore;
- }
+ bool HasTimelineSemaphore() const;
/// Returns the minimum supported version of SPIR-V.
u32 SupportedSpirvVersion() const {