loader: gh1014- Fix physical device dispatch table
authorSlawomir Cygan <slawomir.cygan@intel.com>
Wed, 5 Oct 2016 16:38:02 +0000 (18:38 +0200)
committerMark Young <marky@lunarg.com>
Wed, 5 Oct 2016 16:52:35 +0000 (10:52 -0600)
commita06e15bee6e74732312772f65679cb0fea152e3a
treefa22b0cc9cdc98bd7c9527616bde3a65bf80d678
parent541119b2a55aeea06b550d12d8e067c21ad5c6e0
loader: gh1014- Fix physical device dispatch table

Instead of initializing dispatch tabled for up to *pPhysicalDeviceCount devices, initialize
always all dispatch tables.

This fixes corruption _after_ VulkanCTS dEQP-VK.api.info.instance.physical_devices test.

Change-Id: I29ff42456bed9acb6d2c4016fe7f1940b7f4bd3b
loader/loader.c