summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2022-12-02 14:21:28 -0700
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2022-12-02 17:06:18 -0600
commit82d4232f0f348f66582dd4d5ac15cdb449e08ca1 (patch)
treef350027277a4db826b4b19e69323338f94e2d620
parent92bbe8e0006cceae5b4abc3babcbfc8a785b180f (diff)
downloadVulkan-Loader-82d4232f0f348f66582dd4d5ac15cdb449e08ca1.tar.gz
Vulkan-Loader-82d4232f0f348f66582dd4d5ac15cdb449e08ca1.tar.bz2
Vulkan-Loader-82d4232f0f348f66582dd4d5ac15cdb449e08ca1.zip
Document interaction of layer env-vars for linux
> If `VK_LAYER_PATH` is present, then `VK_ADD_LAYER_PATH` will not be used by the loader and any values will be ignored. This was present for the Windows documentation but not for linux and company.
-rw-r--r--docs/LoaderLayerInterface.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/LoaderLayerInterface.md b/docs/LoaderLayerInterface.md
index 79737788..1d0a3be7 100644
--- a/docs/LoaderLayerInterface.md
+++ b/docs/LoaderLayerInterface.md
@@ -340,6 +340,9 @@ provided by the standard explicit layer paths mentioned above.
The paths provided by `VK_ADD_LAYER_PATH` are added before the standard list
of search folders and will therefore be searched first.
+If `VK_LAYER_PATH` is present, then `VK_ADD_LAYER_PATH` will not be used by the
+loader and any values will be ignored.
+
For security reasons, both `VK_LAYER_PATH` and `VK_ADD_LAYER_PATH` are ignored
if running with elevated privileges.
See [Exception for Elevated Privileges](#exception-for-elevated-privileges)