anv: Rename get_image_format_properties()
authorChad Versace <chadversary@chromium.org>
Fri, 3 Nov 2017 21:50:00 +0000 (14:50 -0700)
committerChad Versace <chadversary@chromium.org>
Fri, 10 Nov 2017 00:01:59 +0000 (16:01 -0800)
commitcd3fe376e0d18206c430d04d5cc630c72a2e6704
tree94a566ee82d97c36ceb3cd99a8d996c94f7deca0
parent17ac61a2c9bf3d52d311be1c00eebe2afdf94d3f
anv: Rename get_image_format_properties()

The name is misleading. It looks like vkGetPhysicalDeviceImageFormatProperties(),
but it actually implement vkGetPhysicalDeviceFormatProperties. Let's
rename it to what it actually does, get_image_format_features(), because it
returns VkFormatFeatureFlags.

For consistency, also rename get_buffer_format_properties() to
get_buffer_format_features().

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