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)
commit59d37cab759405842c9adf2c78d6fad7414f6270
treed175c36649af564a7f850400353ac176895c45e9
parent48a90351f1ca6ae52aa17aa0d9dc78356fac1dc9
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