TEST: Enabling TimelineSemaphores for QCOM and Turnip
This commit is contained in:
parent
e72a206aee
commit
8bd87204f5
|
|
@ -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…
Reference in New Issue