Module: Mesa Branch: master Commit: b302159b1c615f4971cc8ce8680ddce8841127a9 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b302159b1c615f4971cc8ce8680ddce8841127a9
Author: Jason Ekstrand <[email protected]> Date: Thu Feb 4 01:40:26 2021 -0600 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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8857> --- src/vulkan/util/vk_render_pass.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vulkan/util/vk_render_pass.c b/src/vulkan/util/vk_render_pass.c index 3c91438c3f2..3d9b3e8764a 100644 --- a/src/vulkan/util/vk_render_pass.c +++ b/src/vulkan/util/vk_render_pass.c @@ -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) { _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
