I use vkCmdPipelineBarrier to transition a swapchain image layout from TRANSFER_DST_OPTIMAL to PRESENT_SRC_KHR, so that I can present it using vkQueuePresentKHR.
What are the appropriate arguments for dstStageMask and dstAccessMask?
If I use VK_PIPELINE_STAGE_ALL_COMMANDS_BIT and VK_ACCESS_NONE, is the layout guaranteed to have transitioned by the time the submission's pSignalSemaphores are signaled?