To transition to the next subpass in the render pass instance after recording the commands for a subpass, call:
void vkCmdNextSubpass2KHR( VkCommandBuffer commandBuffer, const VkSubpassBeginInfoKHR* pSubpassBeginInfo, const VkSubpassEndInfoKHR* pSubpassEndInfo);
commandBufferis the command buffer in which to record the command.
pSubpassBeginInfois a pointer to a VkSubpassBeginInfoKHR structure containing information about the subpass which is about to begin rendering.
pSubpassEndInfois a pointer to a VkSubpassEndInfoKHR structure containing information about how the previous subpass will be ended.
vkCmdNextSubpass2KHR is semantically identical to
vkCmdNextSubpass, except that it is extensible, and that
contents is provided as part of an extensible structure instead of as
a flat parameter.
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.
Copyright (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.