Document interaction of layer env-vars for linux
authorCharles Giessen <charles@lunarg.com>
Fri, 2 Dec 2022 21:21:28 +0000 (14:21 -0700)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Fri, 2 Dec 2022 23:06:18 +0000 (17:06 -0600)
> 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.

docs/LoaderLayerInterface.md

index 797377882d10480bc4205e66b0821300d73cefe5..1d0a3be78e72fbdb4593928620a46e2df78c8be1 100644 (file)
@@ -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)