April 2017
Intermediate to advanced
700 pages
21h 36m
English
To end a render pass, we need to call a single function:
vkCmdEndRenderPass( command_buffer );
Recording this function in a command buffer performs multiple operations. Execution and memory dependencies are introduced (like the ones in memory barriers) and image layout transitions are performed--images are transitioned from layouts specified for the last subpass to the value of a final layout (refer to the Specifying attachment descriptions recipe). Also multisample resolving is performed on color attachments for which resolving was specified in the last subpass. Additionally, for attachments whose contents should be preserved after the render pass, attachment data may be transferred from the cache to the image's memory. ...
Read now
Unlock full access