Enable VK_KHR_maintenance_5 support
authorCharles Giessen <charles@lunarg.com>
Mon, 31 Jul 2023 21:28:40 +0000 (15:28 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Mon, 31 Jul 2023 22:05:48 +0000 (16:05 -0600)
commit0ec23bb3518ebdf026b379d9b2a58ef9bc5711b7
tree7af40afaa39841c9a63a422fcecffe0358632569
parentfaeb94c2df372557087c3ec77a52b772c0098b1f
Enable VK_KHR_maintenance_5 support

The extension changes the behavior of vkGetDeviceProcAddr to no longer allow
querying of core functions beyond the version specified in VkApplicationInfo.
Thus, a check is needed to ensure that if the extension is enabled, the
apiVersion is sufficient for the function to be returned.
loader/generated/vk_loader_extensions.c
loader/loader.c
loader/loader_common.h
loader/trampoline.c
scripts/loader_extension_generator.py
tests/loader_get_proc_addr_tests.cpp