From: Charles Giessen Date: Fri, 2 Dec 2022 21:21:28 +0000 (-0700) Subject: Document interaction of layer env-vars for linux X-Git-Tag: upstream/1.3.240~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=82d4232f0f348f66582dd4d5ac15cdb449e08ca1;p=platform%2Fupstream%2FVulkan-Loader.git 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. --- 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)