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)
commita74db9c8ee3a474474efefb0a73a891eaeb32a92
tree1d4a7db8d4228688277f95940a4a17c80393d630
parent93288504c01c2c89a4ba01c34f4af00ec1f507fa
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