panvk: Fix stencil attachment resolve on JM
We need to update resolve_info to point to the stencil resolve info, otherwise it's still pointing to the depth resolve info. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31382>
This commit is contained in:
committed by
Marge Bot
parent
2b00d080b6
commit
4645384b37
@@ -1898,6 +1898,8 @@ resolve_attachments(struct panvk_cmd_buffer *cmdbuf)
|
||||
if (resolve_info->mode != VK_RESOLVE_MODE_NONE)
|
||||
needs_resolve = true;
|
||||
|
||||
resolve_info = &cmdbuf->state.gfx.render.s_attachment.resolve;
|
||||
|
||||
VkRenderingAttachmentInfo s_att = {
|
||||
.sType = VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO,
|
||||
.imageView = panvk_image_view_to_handle(resolve_info->src_iview),
|
||||
|
||||
Reference in New Issue
Block a user