vk: Refactor anv_GetPhysicalDeviceFormatProperties()
authorChad Versace <chad.versace@intel.com>
Mon, 28 Sep 2015 18:02:53 +0000 (11:02 -0700)
committerChad Versace <chad.versace@intel.com>
Mon, 28 Sep 2015 18:53:39 +0000 (11:53 -0700)
commit9f3122db0e8e8c6ec1569633d3f6c673ba82d2b4
treeb5fe782aef10e8e17146b697fbf8bfc62dafb00f
parentc15ce5c8341251e02794d2cae7ac95e561398e9a
vk: Refactor anv_GetPhysicalDeviceFormatProperties()

Move the bulk of the function body to a new function
anv_physical_device_get_format_properties(). This allows us to reuse the
function when implementing anv_GetPhysicalDeviceImageFormatProperties()
without calling into the public entry point.
src/vulkan/anv_formats.c