vk: Update comments for anv_image_view
authorChad Versace <chad.versace@intel.com>
Tue, 6 Oct 2015 01:13:48 +0000 (18:13 -0700)
committerChad Versace <chad.versace@intel.com>
Tue, 6 Oct 2015 19:12:52 +0000 (12:12 -0700)
- Document the extent member. It's the extent of the view's base level.
- s/VkAttachmentView/VkImageView/

src/vulkan/anv_private.h

index a0d4f8c2867e275ad3147d4bc821720257dcb254..b0657cfbd143b067ba23836a156ebd02bea97639 100644 (file)
@@ -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 {