vulkan: Preserve preserve attachments in CreateRenderPass

This is trivial so I really don't know why it wasn't handled in the
initial turnip code.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8857>
This commit is contained in:
Jason Ekstrand
2021-02-04 01:40:26 -06:00
committed by Marge Bot
parent 147187f754
commit b302159b1c
+2
View File
@@ -136,6 +136,8 @@ vk_common_CreateRenderPass(VkDevice _device,
.viewMask = 0,
.inputAttachmentCount = pCreateInfo->pSubpasses[i].inputAttachmentCount,
.colorAttachmentCount = pCreateInfo->pSubpasses[i].colorAttachmentCount,
.preserveAttachmentCount = pCreateInfo->pSubpasses[i].preserveAttachmentCount,
.pPreserveAttachments = pCreateInfo->pSubpasses[i].pPreserveAttachments,
};
if (multiview_info && multiview_info->subpassCount) {