summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2017-11-02 17:26:51 -0700
committerChad Versace <[email protected]>2017-11-09 16:01:59 -0800
commit6720abf292e77d44467419a82af40d63572c6e5a (patch)
tree04f39d629c64ca75e795330ec59dc45cdbbca4cb /src/intel/vulkan/anv_private.h
parent342c811646c0d12256b2a0b0d8ddf70f7fbdfcf7 (diff)
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 <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 1fb3772f182..e17a52a4a70 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -2280,7 +2280,7 @@ anv_get_format_planes(VkFormat vk_format)
struct anv_format_plane
anv_get_format_plane(const struct gen_device_info *devinfo, VkFormat vk_format,
- VkImageAspectFlags aspect, VkImageTiling tiling);
+ VkImageAspectFlagBits aspect, VkImageTiling tiling);
static inline enum isl_format
anv_get_isl_format(const struct gen_device_info *devinfo, VkFormat vk_format,