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)
commit1b97317655879971c929fe7ce6b08fb9cc894298
tree64f6dd4d1912b2e7f9584021ea1378df7bcdb04b
parentfae99919eae60d188e0c1483a1caeb2044b5afee
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