GLFW support Vulkan 1.2?

There is no VK_API_VERSION_1_2 in the Vulkan header file from the official repository, but I am using the header files from VulkanSDK, there is this define there.

What happens if I use VK_API_VERSION_1_2 and things from this API version in GLFW 3.3.4?

Are you talking about the file deps/glad/vulkan.h? This is a loader generated by glad2 used in the the vulkan test code. It’s not used by the core GLFW library.

You can use any version of Vulkan with GLFW, but it’s worth reading the GLFW: Vulkan guide first.

Understood, thank you very much for the answer!

1 Like