vulkan: Improve the docs for vk_subpass_info

Reviewed-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17858>
This commit is contained in:
Jason Ekstrand
2022-08-02 10:23:36 -05:00
committed by Marge Bot
parent 378b398da7
commit 3225d60685
2 changed files with 34 additions and 3 deletions
+9
View File
@@ -746,7 +746,16 @@ struct vk_graphics_pipeline_state {
* we can get this information ourselves.
*/
struct vk_subpass_info {
/** VkSubpassDescription2::viewMask */
uint32_t view_mask;
/**
* Aspects of all attachments used as color or depth/stencil attachments
* in the subpass. Input and resolve attachments should not be considered
* when computing the attachments aspect mask. This is used to determine
* whether or not depth/stencil and color blend state are required for a
* pipeline.
*/
VkImageAspectFlags attachment_aspects;
};