Overv / VulkanTutorial

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

VK_MAKE_VERSION deprecated #343

Open akberg opened 1 year ago

akberg commented 1 year ago

Not a problem yet, but: In the current Vulkan version (1.3), VK_MAKE_VERSION has been marked as deprecated. Maybe consider updating the tutorial to teach using VK_MAKE_API_VERSION?

At11011 commented 3 months ago

I noticed this too, I support making this change. The alternative, "VK_MAKE_API_VERSION()" has a parameter called "variant" that represents the "variant of the Vulkan API supported by the implementation", as per the 1.1.281 Vulkan specification.