anv: Simplify anv_physical_device_get_format_properties()
authorChad Versace <chadversary@chromium.org>
Fri, 3 Nov 2017 19:44:34 +0000 (12:44 -0700)
committerChad Versace <chadversary@chromium.org>
Fri, 10 Nov 2017 00:01:59 +0000 (16:01 -0800)
commit891d237667175b91e6c1b1a91be494cd30e6f22c
tree18e1a901c25e1a680c1b781f40d47e2c22c3f036
parentb3e2ce058071a0e104ccdcbb705de2942360a29a
anv: Simplify anv_physical_device_get_format_properties()

Now that get_image_format_properties() returns the correct
VkFormatFeatureFlags, we can remove the unneeded if-branch and some
local variables.

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