diff options
author | Jason Ekstrand <[email protected]> | 2016-08-30 17:49:32 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-09-13 12:40:12 -0700 |
commit | 52fa3e83472ff6ad2652bfebc67b9f6860d64f24 (patch) | |
tree | 11a6cd1c84140d01b733bba6825869e01088f834 /src/intel/vulkan/anv_private.h | |
parent | 8f780af968ffda8c4cc241017a2bca1338176167 (diff) |
anv: Make image_get_surface_for_aspect_mask const
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
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, |