anv: Refactor anv_GetPhysicalDeviceQueueFamilyProperties()
authorChad Versace <chadversary@chromium.org>
Wed, 25 Jan 2017 20:12:19 +0000 (12:12 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 26 Jan 2017 03:18:46 +0000 (19:18 -0800)
commitcd03021c83c8f0060cac7a7a98b94726a69fdffa
tree33e2f889024583fbee371d2b0b25f75051b3bfa0
parent582619009514a4b7320037a52252ec3eda65ce5e
anv: Refactor anv_GetPhysicalDeviceQueueFamilyProperties()

Add a helper function, anv_get_queue_family_properties(), which fills the
struct.  This patch reduces churn in the following patch that implements
vkGetPhysicalDeviceQueueFamilyProperties2KHR.

Reviewed-by: Jason Ekstranad <jason@jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_device.c