e22d843fa4
With dynamic rendering the API formally eliminates render passes, so the pipeline create info can now have a NULL render pass, in which case rendering info must be provided via pNext struct VkPipelineRenderingCreateInfo, or if this is missing too then defaults to no multiview and no attachments. Since we don't want to have separate paths all over the place whenever we need to access render pass / rendering info for the pipeline, we will always produce a valid vk_render_pass_state struct with the relevant information even when we have a render pass, so we can rely on that always being available. A follow-up patch will rewrite all the places where we assumed the existence of a render pass in the pipeline to instead fetch the info it needs from this new field instead. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27978>