1
0
Fork 0
forked from suyu/suyu

vulkan_common: correct usage of timeline semaphore fallbacks

This commit is contained in:
Liam 2022-12-02 19:23:06 -05:00
parent f23f875dd8
commit ea56d8f388

View file

@ -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);
}