From 52fa3e83472ff6ad2652bfebc67b9f6860d64f24 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Tue, 30 Aug 2016 17:49:32 -0700 Subject: anv: Make image_get_surface_for_aspect_mask const Signed-off-by: Jason Ekstrand Reviewed-by: Anuj Phogat --- src/intel/vulkan/anv_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/intel/vulkan/anv_private.h') diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index a01aeba2120..a083f93fc64 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1753,8 +1753,8 @@ VkResult anv_image_create(VkDevice _device, const VkAllocationCallbacks* alloc, VkImage *pImage); -struct anv_surface * -anv_image_get_surface_for_aspect_mask(struct anv_image *image, +const struct anv_surface * +anv_image_get_surface_for_aspect_mask(const struct anv_image *image, VkImageAspectFlags aspect_mask); void anv_image_view_init(struct anv_image_view *view, -- cgit v1.2.3