loader: Fix failure on ICD loading
authorMark Young <marky@lunarg.com>
Fri, 11 Nov 2016 16:31:55 +0000 (09:31 -0700)
committerMark Young <marky@lunarg.com>
Fri, 11 Nov 2016 21:32:50 +0000 (14:32 -0700)
commitb773bf9fa29e31e7d001b2a82a74b1c877aeb8f0
tree3827856641361530ade610aa8b458737cbaa2e1e
parent217468c22df93930c407402083c45184570d53a1
loader: Fix failure on ICD loading

Piers (Nvidia) discovered a bug where the ICD would fail in different ways
depending on which ICD failed to load properly during the vkCreateInstance
call.  If the first ICD failed, but the second one succeeded, everything
would work fine, if the second failed, but the first succeeded, it would
fail completely because the last ICD failed.

Change-Id: I9f63146e60baf1ff310c948d8ef84c645519c075
loader/loader.c