anv: Simplify anv_get_image_format_properties()
authorChad Versace <chadversary@chromium.org>
Fri, 3 Nov 2017 23:26:51 +0000 (16:26 -0700)
committerChad Versace <chadversary@chromium.org>
Fri, 10 Nov 2017 00:01:59 +0000 (16:01 -0800)
commitb3e2ce058071a0e104ccdcbb705de2942360a29a
tree8cdaae4140080bfa893505efed9da212717d24fd
parentcd3fe376e0d18206c430d04d5cc630c72a2e6704
anv: Simplify anv_get_image_format_properties()

Now that get_image_format_features() has a VkImageTiling parameter, we
can bypass anv_physical_device_get_format_properties() and call
get_image_format_features() directly.

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