Add device dispatch table magic value check
authorCharles Giessen <charles@lunarg.com>
Tue, 22 Aug 2023 21:49:17 +0000 (15:49 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Tue, 12 Sep 2023 20:23:26 +0000 (14:23 -0600)
commit1e09b25e96fbcb8ab7b40a07ef21afb89ffe54f7
tree5f422c5cd44f91df6086a69960237ff3f110243b
parent1c827fd79cee8a5248bb3d55f9da26abca89c7db
Add device dispatch table magic value check

The device dispatch table has a magic value to ensure consistency, but
there was no message logged in case the magic value was corrupted. This
commit adds that check, fixes the message being printed for the instance
magic value check, and adds tests to ensure they are contining to be
checked in the future.
docs/LoaderLayerInterface.md
loader/generated/vk_loader_extensions.c
loader/loader.c
loader/trampoline.c
scripts/loader_extension_generator.py
tests/framework/layer/test_layer.cpp
tests/framework/layer/test_layer.h
tests/loader_regression_tests.cpp