vulkan_common: correct usage of timeline semaphore fallbacks

pull/8/head
Liam 2 years ago
parent f23f875dd8
commit ea56d8f388

@ -195,8 +195,7 @@ void Load(VkDevice device, DeviceDispatch& dld) noexcept {
// Support for timeline semaphores is mandatory in Vulkan 1.2
if (!dld.vkGetSemaphoreCounterValue) {
Proc(dld.vkGetSemaphoreCounterValue, dld, "vkGetSemaphoreCounterValue", device);
Proc(dld.vkWaitForFences, dld, "vkWaitForFencesKHR", device);
Proc(dld.vkGetSemaphoreCounterValue, dld, "vkGetSemaphoreCounterValueKHR", device);
Proc(dld.vkWaitSemaphores, dld, "vkWaitSemaphoresKHR", device);
}

Loading…
Cancel
Save