summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/intel_icd.json.in
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-08-19 09:01:14 -0700
committerJason Ekstrand <[email protected]>2016-08-20 00:50:03 -0700
commita2ae67aa47df6dd41802462105dac7ce5ab676a2 (patch)
tree1cc59a5e87d1c162766eb045e03892b9cb9f7825 /src/intel/vulkan/intel_icd.json.in
parent16ef7ab5c13d2c5638f5a4e1fe7f0303d26b4e96 (diff)
anv: Give the installed intel_icd.json file an absolute path
Not providing a path allows the ICD to work on multi-arch systems but breaks it if you install anywhere other than /usr/lib. Given that users may be installing locally in .local or similar, we probably do want to provide a filename. Distros can carry a revert of this commit if they want an intel_icd.json file without the path. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/intel/vulkan/intel_icd.json.in')
-rw-r--r--src/intel/vulkan/intel_icd.json.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/intel/vulkan/intel_icd.json.in b/src/intel/vulkan/intel_icd.json.in
new file mode 100644
index 00000000000..d9b363a9762
--- /dev/null
+++ b/src/intel/vulkan/intel_icd.json.in
@@ -0,0 +1,7 @@
+{
+ "file_format_version": "1.0.0",
+ "ICD": {
+ "library_path": "@install_libdir@/libvulkan_intel.so",
+ "abi_versions": "1.0.3"
+ }
+}