To record a command to end a render pass instance after recording the commands for the last subpass, call:
// Provided by VK_VERSION_1_0 void vkCmdEndRenderPass( VkCommandBuffer commandBuffer);
Ending a render pass instance performs any multisample resolve operations on the final subpass.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.