Add VK_LOADER_LAYERS_ALLOW environment variable.
authorCharles Giessen <charles@lunarg.com>
Tue, 1 Aug 2023 23:22:15 +0000 (17:22 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Wed, 9 Aug 2023 19:50:28 +0000 (13:50 -0600)
commit870fd572dd52ab5b433af5e85da8af572af13b15
tree835782be515b6d074959f5859402d0a9cf30afef
parent6b4c71254b31f312c1fc1e98ab4b5f96d15800ff
Add VK_LOADER_LAYERS_ALLOW environment variable.

This new environment variable prevents the VK_LOADER_LAYERS_DISABLE
env-var from applying to layers in the VK_LOADER_LAYERS_ALLOw env-var.

The purpose of it is to act like VK_LOADER_LAYERS_ENABLE in regards to
VK_LOADER_LAYER_DISABLE without force enabling the layers. That way,
implicit layers which normally would only be enabled in certain
circumstances (eg their enable_environment is set) can be allowed
while still disallowing other implicit layers.
docs/LoaderDebugging.md
docs/LoaderInterfaceArchitecture.md
docs/LoaderLayerInterface.md
loader/loader.c
loader/loader_common.h
loader/loader_environment.c
loader/settings.c
loader/vk_loader_platform.h
tests/framework/test_environment.cpp
tests/framework/test_environment.h
tests/loader_layer_tests.cpp