anv: Give the installed intel_icd.json file an absolute path
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 19 Aug 2016 16:01:14 +0000 (09:01 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 20 Aug 2016 07:50:03 +0000 (00:50 -0700)
commita2ae67aa47df6dd41802462105dac7ce5ab676a2
tree1cc59a5e87d1c162766eb045e03892b9cb9f7825
parent16ef7ab5c13d2c5638f5a4e1fe7f0303d26b4e96
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 <jason@jlekstrand.net>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Chad Versace <chad@kiwitree.net>
src/intel/vulkan/.gitignore
src/intel/vulkan/Makefile.am
src/intel/vulkan/intel_icd.json [deleted file]
src/intel/vulkan/intel_icd.json.in [new file with mode: 0644]