mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
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:
parent
c4a513d978
commit
4d9fc17ae8
1 changed files with 1 additions and 0 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue