anv: Better types for 'aspect' function params
authorChad Versace <chadversary@chromium.org>
Fri, 3 Nov 2017 00:26:51 +0000 (17:26 -0700)
committerChad Versace <chadversary@chromium.org>
Fri, 10 Nov 2017 00:01:59 +0000 (16:01 -0800)
commit6720abf292e77d44467419a82af40d63572c6e5a
tree04f39d629c64ca75e795330ec59dc45cdbbca4cb
parent342c811646c0d12256b2a0b0d8ddf70f7fbdfcf7
anv: Better types for 'aspect' function params

Some functions have a comment that says "Exactly one bit must be in
'aspect'". So change the type of their 'aspect' parameter from
VkImageAspectFlags to VkImageAspectFlagBits.

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