layers: Track whether a swapchain has been replaced
authorChris Forbes <chrisforbes@google.com>
Thu, 8 Dec 2016 21:39:26 +0000 (10:39 +1300)
committerChris Forbes <chrisforbes@google.com>
Wed, 14 Dec 2016 02:25:29 +0000 (15:25 +1300)
commita6eb629273ca43dfadc2295a8c18b5b46761028c
treea1846c422031b1997272e619f22b7afc3dcc88a6
parent7857f328126220842fc0f8dadff167f007ce55de
layers: Track whether a swapchain has been replaced

If a swapchain is used as VkSwapchainCreateInfoKHR::oldSwapchain, then
it is replaced. This occurs even if the new swapchain creation fails.

Signed-off-by: Chris Forbes <chrisforbes@google.com>
layers/core_validation.cpp
layers/core_validation_types.h