Browse Source

TEST: Enabling TimelineSemaphores for QCOM and Turnip

test-revert-gpu-optim
CamilleLaVey 1 month ago
committed by lizzie
parent
commit
8bd87204f5
  1. 7
      src/video_core/vulkan_common/vulkan_device.cpp

7
src/video_core/vulkan_common/vulkan_device.cpp

@ -1069,13 +1069,6 @@ bool Device::ShouldBoostClocks() const {
} }
bool Device::HasTimelineSemaphore() 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; return features.timeline_semaphore.timelineSemaphore;
} }

Loading…
Cancel
Save