VkGraphicsPipelineCreateInfo - Renderpass compatibility question

Hello guys,
when we want to create a graphics-pipeline we have to specify a render-pass and a subpass-index.
I’ve read the spec about it and it just say’s that pipelines can only be used within a render-pass compatible with the one specified during creation.
But what’s about the subpass-index?
Does that mean also that the pipeline can only be used within the given subpass in a compatible renderpass?

It somewhat stands to reason.

But i can’t find anything to that effect except that parameter description.

Sounds like it should be in VUs for all the draw commands. Something like “pipeline created with compatible renderpass and index of the current subpass must be bound”. Worth a GitHub issue if you ask me…

Seeing no other will, I raised a GitHub Issue #375.