Fix loader phys dev termin for physical device extensions.
authorMark Young <marky@lunarg.com>
Wed, 15 Dec 2021 17:06:00 +0000 (10:06 -0700)
committerMark Young <marky@lunarg.com>
Fri, 7 Jan 2022 23:56:38 +0000 (16:56 -0700)
commit6c8e7c7cd7b99d136ddf6f1f898e592c8bebbd3f
tree8576cd332984bcce471ac83937c8f0abff9cd0ac
parentb9936f2b7a5e687e9962a1930f3489550dcc5242
Fix loader phys dev termin for physical device extensions.

Fix some loader terminator functions for instance physical device
functions (that were pre-Vulkan 1.1).  At that point in the API, we
didn't treat VkPhysicalDevices like VkDevices.  Now, you must first
query the device for extension support for even VkPhysicalDevice calls.
Back then, the loader had to emulate the functionality.

Added tests to validate many of these functions.
loader/generated/vk_loader_extensions.c
loader/terminator.c
loader/wsi.c
scripts/loader_extension_generator.py
tests/CMakeLists.txt
tests/framework/icd/physical_device.h
tests/framework/icd/test_icd.cpp
tests/framework/test_util.h
tests/loader_handle_validation_tests.cpp
tests/loader_phys_dev_inst_ext_tests.cpp [new file with mode: 0644]
tests/loader_regression_tests.cpp