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:
committed by
Marge Bot
parent
147187f754
commit
b302159b1c
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user