Add Vulkan-Headers version to source
authorCharles Giessen <charles@lunarg.com>
Tue, 3 Jan 2023 23:26:23 +0000 (16:26 -0700)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Mon, 9 Jan 2023 19:04:34 +0000 (12:04 -0700)
commit15b02f97238be98952233a6830b508063c3200f0
tree3e47a615e5a515a10ce62088be1bc13b309d188d
parenta68ebff22ea8e7ec1843fc5db255cf69807a2aa9
Add Vulkan-Headers version to source

The version of the Vulkan-Headers used to generate the source code is what should be
used to set the version of the binary, rather than the version of the Vulkan-Headers
that is currently available. This commit checks that version into the repo so that
it is used, and adds the necessary python code to update it.

This behavior was previously in the repo but was broken by the update to use the
version parsing logic from the Vulkan-Headers.
CMakeLists.txt
cmake/generated_header_version.cmake [new file with mode: 0644]
loader/CMakeLists.txt
scripts/generate_source.py