vk/device: Move device enumeration to vkEnumeratePhysicalDevices()
authorChad Versace <chad.versace@intel.com>
Thu, 9 Jul 2015 22:38:58 +0000 (15:38 -0700)
committerChad Versace <chad.versace@intel.com>
Thu, 9 Jul 2015 22:41:17 +0000 (15:41 -0700)
commitfa915b661d4159014c0ed3c593505ddf57f27ee5
tree43815ff2bbad81dcdaee549f63f35ddb40931356
parentc34d314db32edf6cbeed799e5d992086ee53e159
vk/device: Move device enumeration to vkEnumeratePhysicalDevices()

Don't enumerate devices in vkCreateInstance(). That's where global,
device-independent initialization should happen. Move device enumeration
to the more logical location, vkEnumeratePhysicalDevices().
src/vulkan/device.c