From 6b5ce5daf5145a1e63ca28c537689583056ac28d Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Mon, 5 Oct 2015 18:13:48 -0700 Subject: [PATCH] vk: Update comments for anv_image_view - Document the extent member. It's the extent of the view's base level. - s/VkAttachmentView/VkImageView/ --- src/vulkan/anv_private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index a0d4f8c2867..b0657cfbd14 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -1244,12 +1244,12 @@ struct anv_buffer_view { }; struct anv_image_view { - const struct anv_image *image; /**< VkAttachmentViewCreateInfo::image */ - const struct anv_format *format; /**< VkAttachmentViewCreateInfo::format */ + const struct anv_image *image; /**< VkImageViewCreateInfo::image */ + const struct anv_format *format; /**< VkImageViewCreateInfo::format */ struct anv_state surface_state; /**< RENDER_SURFACE_STATE */ struct anv_bo *bo; uint32_t offset; /**< Offset into bo. */ - VkExtent3D extent; + VkExtent3D extent; /**< Extent of VkImageViewCreateInfo::baseMipLevel. */ }; enum anv_attachment_view_type { -- 2.30.2