Add Debug extension support to test layer
authorCharles Giessen <charles@lunarg.com>
Tue, 5 Sep 2023 22:44:38 +0000 (16:44 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Fri, 8 Sep 2023 21:56:37 +0000 (15:56 -0600)
commitcfe07e3648fe89ef5d909ab92b562419db5369f0
treeedc25db4527d2f4827296b53057e0ab905c09845
parent40cebdf5763a0f8181da2b6c2a7ed25738a03e54
Add Debug extension support to test layer

Debug utils, debug report, and debug marker are now supported directly in the
test layer, allowing easy testing of the behavior of layers which support
these debug extensions.

This allows testing the matrix of combinations between drivers, layers, and
loader support for these debug extensions.

This commit also adds a 'injected_extension' concept into the test_layer,
which allows recreating the behavior of layers which modify the extension
list returned by the driver.
tests/framework/layer/test_layer.cpp
tests/framework/layer/test_layer.h
tests/loader_debug_ext_tests.cpp