aboutsummaryrefslogtreecommitdiff
path: root/loader/LoaderAndLayerInterface.md
diff options
context:
space:
mode:
authorJon Ashburn <jon@lunarg.com>2016-02-24 12:00:55 -0700
committerJon Ashburn <jon@lunarg.com>2016-02-24 12:00:55 -0700
commit08d4dfff4f616f9e290a097f69d2390fef27ae87 (patch)
tree5ca708ceac732050618bb21343fab1df6a1ce7a2 /loader/LoaderAndLayerInterface.md
parent5c4cea0668d2781129db602cb91980cd2f2ee410 (diff)
downloadusermoji-08d4dfff4f616f9e290a097f69d2390fef27ae87.tar.xz
loader: Update doc to add the Linux search path
$HOME/.local/share/vulkan/icd.d or explicit_layer.d or implicit_layer.d
Diffstat (limited to 'loader/LoaderAndLayerInterface.md')
-rw-r--r--loader/LoaderAndLayerInterface.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/loader/LoaderAndLayerInterface.md b/loader/LoaderAndLayerInterface.md
index ba859f1c..b4c202ce 100644
--- a/loader/LoaderAndLayerInterface.md
+++ b/loader/LoaderAndLayerInterface.md
@@ -380,6 +380,10 @@ in the following Linux directories:
/usr/share/vulkan/icd.d
/etc/vulkan/icd.d
+$HOME/.local/share/vulkan/icd.d
+
+Where $HOME is the current home directory of the application's user id; this
+path will be ignored for suid programs.
These directories will contain text information files (a.k.a. "manifest
files"), that use a JSON format.
@@ -453,7 +457,7 @@ other words, only the ICDs listed in "VK\_ICD\_FILENAMES" will be used.
The "VK\_ICD\_FILENAMES" environment variable is a colon-separated list of ICD
manifest files, containing the following:
-- A filename (e.g. "libvkicd.json") in the "/usr/share/vulkan/icd.d" or "/etc/vulkan/icd.d" system directories
+- A filename (e.g. "libvkicd.json") in the "/usr/share/vulkan/icd.d", "/etc/vulkan/icd.d" "$HOME/.local/share/vulkan/icd.d" directories
- A full pathname (e.g. "/my\_build/my\_icd.json")
@@ -824,6 +828,11 @@ The Vulkan loader will scan the files in the following Linux directories:
/usr/share/vulkan/implicit\_layer.d
/etc/vulkan/explicit\_layer.d
/etc/vulkan/implicit\_layer.d
+$HOME/.local/share/vulkan/explicit\_layer.d
+$HOME/.local/share/vulkan/implicit\_layer.d
+
+Where $HOME is the current home directory of the application's user id; this
+path will be ignored for suid programs.
Explicit layers are those which are enabled by an application (e.g. with the
vkCreateInstance function), or by an environment variable (as mentioned