mirror of
https://github.com/openharmony/third_party_vulkan-loader.git
synced 2026-07-19 17:13:36 -04:00
035140a542
Validate the Vulkan dispatchable handles (VkInstance, VkPhysicalDevice, etc) for any trampoline functions the loader uses to query the dispatch table from. This is so we can at least report errors before something bad happens. Also, add tests to the test framework to catch this case. Right now they simply check to make sure we aborted, but they don't know why the loader aborted. Eventually, we need to come back and check the loader messages and make sure it aborted for the reasons we want. Fix a generator warning in dispatch_table_helper_generator.py where a compare was the wrong type. Fixes GH Issue #64.