Browse Source

Revert "TEST: Enabling TimelineSemaphores for QCOM and Turnip"

This reverts commit 3cd33fce44.
test-revert-gpu-optim
PavelBARABANOV 1 month ago
committed by lizzie
parent
commit
ddd78c3b37
  1. 7
      src/video_core/vulkan_common/vulkan_device.cpp

7
src/video_core/vulkan_common/vulkan_device.cpp

@ -1017,6 +1017,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