Browse Source

Revert "TEST: Enabling TimelineSemaphores for QCOM and Turnip"

This reverts commit 3cd33fce44.
test-revert-gpu-optim
PavelBARABANOV 1 month ago
parent
commit
4a17762ed7
  1. 7
      src/video_core/vulkan_common/vulkan_device.cpp

7
src/video_core/vulkan_common/vulkan_device.cpp

@ -1018,6 +1018,13 @@ bool Device::ShouldBoostClocks() const {
}
bool Device::HasTimelineSemaphore() const {
if (GetDriverID() == VK_DRIVER_ID_QUALCOMM_PROPRIETARY ||
GetDriverID() == VK_DRIVER_ID_MESA_TURNIP) {
// Timeline semaphores do not work properly on all Qualcomm drivers.
// They generally work properly with Turnip drivers, but are problematic on some devices
// (e.g. ZTE handsets with Snapdragon 870).
return false;
}
return features.timeline_semaphore.timelineSemaphore;
}

Loading…
Cancel
Save