Overv / VulkanTutorial

Tutorial for the Vulkan graphics and compute API
https://vulkan-tutorial.com
Creative Commons Attribution Share Alike 4.0 International
3.08k stars 513 forks source link

Fences VS. Semaphores #214

Open JlnWntr opened 3 years ago

JlnWntr commented 3 years ago

Can we please briefly discuss whether using VkFences in the tutorial-example code is still appropriate?

I stumbled upon this article while extensively playing around with Hello Triangle.

Cons-Cat commented 2 years ago

This article is conformant to Vulkan 1.0, so it will never be in-appropriate. Less than 100% of "Vulkan drivers" support 1.2 and Synchro2, so the knowledge to use binary semaphores matters. However, I think it would be great to have an alternate version of the "Rendering and Presentation" section that uses the more modern best practice. I wonder if that would be a welcome pull request.