loader: Modify ICD dlopen to use RTLD_NOW
authorMark Young <marky@lunarg.com>
Tue, 16 May 2017 03:35:47 +0000 (21:35 -0600)
committerMark Young <marky@lunarg.com>
Tue, 16 May 2017 13:54:56 +0000 (07:54 -0600)
commita480e11deebf69a1b1dfebccd5314492409db601
tree46a2ebd1b0648e6cc929cf443756b3cc33639de4
parente708f6caccca78b4f30e0ec7a3329a99e4722c38
loader: Modify ICD dlopen to use RTLD_NOW

Pierre-Loup at Valve caught this.  By using RTLD_NOW on dlopen
it fails if symbols are not resolved at dlopen time.  This resolves
an error where an ICD is missing a symbol on a system causing
the loader to fail later at an unrecoverable time.

Change-Id: Icf43fd36aebfbcb4b08e7e3891570161234118f7
loader/vk_loader_platform.h