Expand unknown function handling tests
authorCharles Giessen <charles@lunarg.com>
Mon, 14 Feb 2022 23:03:40 +0000 (16:03 -0700)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Tue, 15 Feb 2022 17:48:53 +0000 (10:48 -0700)
commitb53e82543ef7885c9b883cc05f97e72730b4fce4
tree909e85675cdec8a66b80610eef3b2c8088f1fd78
parent24ce547c83c06284e0eace57b0290538bf6899ca
Expand unknown function handling tests

Add tests for unknown device functions queried with both vkGetDeviceProcAddr
and vkGetInstanceProcAddr. Also loops enough times to exhaust the available
unknown function supply.

Had to fix the vk_layerGetPhysicalDeviceProcAddr in TestLayer to make the tests
pass.

MacOS currently skips tests which use vkGetInstanceProcAddr. This is due to the
need for unknown functions being lower priority and so do not warrent the time
needed to write the assembly necessary to resolve the issue fully.
loader/loader.c
tests/framework/icd/physical_device.h
tests/framework/icd/test_icd.cpp
tests/framework/layer/test_layer.cpp
tests/framework/layer/test_layer.h
tests/framework/test_util.cpp
tests/framework/test_util.h
tests/loader_unknown_ext_tests.cpp