renderer_vulkan: Fix broken sync without timeline semaphores

This commit is contained in:
emufan4568
2022-10-12 15:41:17 +03:00
committed by GPUCode
parent 2423e645f1
commit f1e09c1ea1

View File

@ -107,9 +107,9 @@ void TaskScheduler::Synchronize(u32 slot) {
LOG_ERROR(Render_Vulkan, "Waiting for fence counter {} failed!", command.fence_counter);
UNREACHABLE();
}
completed_fence_counter = command.fence_counter;
}
completed_fence_counter = command.fence_counter;
device.resetFences(command.fence);
device.resetDescriptorPool(command.descriptor_pool);
}