zink: set aspectMask for renderpass2 VkAttachmentReference2 structs
this is otherwise just garbage fixes #5569 cc: mesa-stable Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13561>
This commit is contained in:
committed by
Marge Bot
parent
c4a513d978
commit
4d9fc17ae8
@@ -168,6 +168,7 @@ create_render_pass2(struct zink_screen *screen, struct zink_render_pass_state *s
|
||||
color_refs[i].pNext = NULL;
|
||||
color_refs[i].attachment = i;
|
||||
color_refs[i].layout = layout;
|
||||
color_refs[i].aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;
|
||||
dep_pipeline |= VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT;
|
||||
if (rt->fbfetch)
|
||||
memcpy(&input_attachments[input_count++], &color_refs[i], sizeof(VkAttachmentReference2));
|
||||
|
||||
Reference in New Issue
Block a user