-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add VK_IMPLICIT_LAYER_PATH & VK_ADD_IMPLICIT_LAYER_PATH env-vars #1550
Add VK_IMPLICIT_LAYER_PATH & VK_ADD_IMPLICIT_LAYER_PATH env-vars #1550
Conversation
Add the environment variables VK_IMPLICIT_LAYER_PATH and VK_ADD_IMPLICIT_LAYER_PATH to control implicit layer path searching, mirroring the existing explicit layer only VK_LAYER_PATH and VK_ADD_LAYER_PATH. This fixes a gap in environment variable controls over the behavior of the loader.
CI Vulkan-Loader build queued with queue ID 253816. |
1 similar comment
CI Vulkan-Loader build queued with queue ID 253816. |
CI Vulkan-Loader build # 2697 running. |
CI Vulkan-Loader build # 2697 passed. |
💯 I want this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I reviewed the docs and impl. I did not review the tests. All the changes looked correct to me, other than a small nitpick that you can ignore. I'm not a loader codebase export, though, so I don't know if the proposed changes are sufficient.
Also, I was surprised to discover the existing, extensive duplication, verbatim, of much of the loader-application interface. It deserves a cleanup someday, from someone who has the freetime.
447ebda
to
3706e39
Compare
CI Vulkan-Loader build queued with queue ID 255861. |
CI Vulkan-Loader build # 2700 running. |
CI Vulkan-Loader build # 2700 passed. |
Add the environment variables VK_IMPLICIT_LAYER_PATH and
VK_ADD_IMPLICIT_LAYER_PATH to control implicit layer path searching,
mirroring the existing explicit layer only VK_LAYER_PATH and
VK_ADD_LAYER_PATH.
This fixes a gap in environment variable controls over the behavior
of the loader.
See issue #1394.