Swapchain: Validating supported surface for presenting with a queue.
authorIan Elliott <ianelliott@google.com>
Thu, 21 Jan 2016 21:29:45 +0000 (14:29 -0700)
committerJon Ashburn <jon@lunarg.com>
Thu, 28 Jan 2016 18:19:07 +0000 (11:19 -0700)
commit22ababc340f8f08baefa4c02b9776a62474631e1
tree91882935a25d9e9eb5de94b0e96f07c08956e8e7
parent7030dbe85ce60070c575a9eceb8c34841947a4e2
Swapchain: Validating supported surface for presenting with a queue.

This validation involves multiple levels of indirection as vkQueuePresentKHR()
receives a queue parameter, and a pPresentInfo->pSwapchains array.  For each
swapchain, it's surface must have been seen to be supported with a
queueFamilyIndex that is associated with the queue parameter.  Info must be
recorded at various previous calls, and be correlatable at this point in time.
Very complicated!
layers/swapchain.cpp
layers/swapchain.h
layers/vk_validation_layer_details.md