From 1462db46946f7829c28a7cba0bdd9e2417c04b6a Mon Sep 17 00:00:00 2001 From: bunnei Date: Mon, 3 Jul 2023 19:17:40 -0700 Subject: video_core: vulkan_device: Disable timeline semaphore on Turnip, fix qcom version check. --- src/video_core/vulkan_common/vulkan_device.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/video_core/vulkan_common/vulkan_device.h') diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index 3ace1fb03..be3ed45ff 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 { -- cgit v1.2.3