vulkan/render_pass: Add a missing sType

Fixes: 3a204d5cf3 ("vulkan/render_pass: Add a better helper for render pass inheritance")
Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
(cherry picked from commit c5740c2548)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38167>
This commit is contained in:
Lionel Landwerlin 2025-10-27 14:46:27 -04:00 committed by Dylan Baker
parent 9311f170c4
commit 2e17fd0cb2
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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;