Log when VK_LAYER_PATH is ignored
authorCharles Giessen <charles@lunarg.com>
Tue, 24 Jan 2023 17:52:24 +0000 (10:52 -0700)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Tue, 24 Jan 2023 18:26:02 +0000 (11:26 -0700)
commitced1be175fb890b3c69cb95185be191d9d64c887
tree9350c91440397b0c67c39ea122f82a05722e7f68
parent0a2c1bece62909bfbe740cb81243e93d4c1c8629
Log when VK_LAYER_PATH is ignored

The current design of the loader make the Override Layer, with its override
paths, take priority over VK_LAYER_PATH. This is fine, but if the override
layer accidentally was left around, it can cause confusion as VK_LAYER_PATH
suddenly stops working for no apparent reason. This commit adds a log message
to indicate that it is being ignored.
loader/loader.c
tests/loader_layer_tests.cpp