diff options
author | bunnei <bunneidev@gmail.com> | 2023-07-04 08:48:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-04 08:48:41 +0200 |
commit | 4467fd9993549e96f96ecae433bea214fb175bd9 (patch) | |
tree | 2d3b0a10a59f3894f1ab181a6a52d4d282604cbe /src/video_core/vulkan_common/vulkan_device.h | |
parent | Merge pull request #10964 from bunnei/gpu-remove-qcom-check (diff) | |
parent | video_core: vulkan_device: Disable timeline semaphore on Turnip, fix qcom version check. (diff) | |
download | yuzu-4467fd9993549e96f96ecae433bea214fb175bd9.tar yuzu-4467fd9993549e96f96ecae433bea214fb175bd9.tar.gz yuzu-4467fd9993549e96f96ecae433bea214fb175bd9.tar.bz2 yuzu-4467fd9993549e96f96ecae433bea214fb175bd9.tar.lz yuzu-4467fd9993549e96f96ecae433bea214fb175bd9.tar.xz yuzu-4467fd9993549e96f96ecae433bea214fb175bd9.tar.zst yuzu-4467fd9993549e96f96ecae433bea214fb175bd9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 8 |
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 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 { |