loader: Improve Linux manifest search
authorBenjamin Saunders <ben.e.saunders@gmail.com>
Sun, 29 Jan 2017 22:49:54 +0000 (14:49 -0800)
committerMark Young <marky@lunarg.com>
Thu, 2 Feb 2017 17:16:28 +0000 (10:16 -0700)
commit4784a34467a3e077fc506769c1bc618095aaf84f
treeb62364ec6941753cfb4b36f0ec2bef562d10d5d3
parent4f55c40a47c244e3f3485f84e441cb5c7edc5dad
loader: Improve Linux manifest search

Searching XDG_CONFIG_DIRS and XDG_DATA_DIRS instead of hard-coding
specific paths improves portability, particularly on platforms which
don't implement the Filesystem Hierarchy Standard. For example, this
allows the loader to function correctly out of the box on NixOS.
CMakeLists.txt
loader/loader.c
loader/vk_loader_platform.h