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;