From 2e17fd0cb2aa18d0eb605b5eb31313ca51d20713 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Mon, 27 Oct 2025 14:46:27 -0400 Subject: [PATCH] vulkan/render_pass: Add a missing sType Fixes: 3a204d5cf370 ("vulkan/render_pass: Add a better helper for render pass inheritance") Reviewed-by: Faith Ekstrand (cherry picked from commit c5740c2548a023f4e03eae6ff53b598536ed2704) Part-of: --- .pick_status.json | 2 +- src/vulkan/runtime/vk_render_pass.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index e177e1b08dc..f5d5f531b84 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -384,7 +384,7 @@ "description": "vulkan/render_pass: Add a missing sType", "nominated": true, "nomination_type": 2, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "3a204d5cf370116a427361410a449dde002bc143", "notes": null diff --git a/src/vulkan/runtime/vk_render_pass.c b/src/vulkan/runtime/vk_render_pass.c index d893eed940a..32466cf7210 100644 --- a/src/vulkan/runtime/vk_render_pass.c +++ b/src/vulkan/runtime/vk_render_pass.c @@ -1087,6 +1087,7 @@ vk_get_command_buffer_inheritance_as_rendering_resume( &subpass->color_attachments[i]; if (sp_att->attachment == VK_ATTACHMENT_UNUSED) { attachments[i] = (VkRenderingAttachmentInfo) { + .sType = VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_INFO, .imageView = VK_NULL_HANDLE, }; continue;