If an app creates a renderpass via CreateRenderPass2KHR, and then uses that renderpass in CreateGraphicsPipeline, core validation will get an access violation from:
pipe_state[i]->initGraphicsPipeline(&pCreateInfos[i], GetRenderPassStateSharedPtr(dev_data, pCreateInfos[i].renderPass));
due to the renderpass not being present in the renderPassMap map.
If an app creates a renderpass via CreateRenderPass2KHR, and then uses that renderpass in CreateGraphicsPipeline, core validation will get an access violation from:
pipe_state[i]->initGraphicsPipeline(&pCreateInfos[i], GetRenderPassStateSharedPtr(dev_data, pCreateInfos[i].renderPass));
due to the renderpass not being present in the renderPassMap map.