diff options
author | Chad Versace <[email protected]> | 2015-10-05 18:13:48 -0700 |
---|---|---|
committer | Chad Versace <[email protected]> | 2015-10-06 12:12:52 -0700 |
commit | 6b5ce5daf5145a1e63ca28c537689583056ac28d (patch) | |
tree | 0dd848fbed239506c954a3fd44a8880d676220a7 | |
parent | 19018c9f13f43c43af4bd95267ab469802c27854 (diff) |
vk: Update comments for anv_image_view
- Document the extent member. It's the extent of the view's base level.
- s/VkAttachmentView/VkImageView/
-rw-r--r-- | src/vulkan/anv_private.h | 6 |
1 files 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 { |