From: Chad Versace Date: Tue, 6 Oct 2015 01:13:48 +0000 (-0700) Subject: vk: Update comments for anv_image_view X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b5ce5daf5145a1e63ca28c537689583056ac28d;p=mesa.git vk: Update comments for anv_image_view - Document the extent member. It's the extent of the view's base level. - s/VkAttachmentView/VkImageView/ --- 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 {