Macro
VK_MAKE_VERSION
Construct an API version number
VK_MAKE_VERSION
constructs an API version number.
// DEPRECATED: This define is deprecated. VK_MAKE_API_VERSION should be used instead.
#define VK_MAKE_VERSION(major, minor, patch) \
((((uint32_t)(major)) << 22U) | (((uint32_t)(minor)) << 12U) | ((uint32_t)(patch)))
major
is the major version number.minor
is the minor version number.patch
is the patch version number.