layers: GH117: swapchain layer warns if app uses neither semaphore nor fence.
authorIan Elliott <ianelliott@google.com>
Wed, 23 Mar 2016 14:28:54 +0000 (08:28 -0600)
committerIan Elliott <ianelliott@google.com>
Wed, 23 Mar 2016 14:53:00 +0000 (08:53 -0600)
commit0234cd2e5685ff7b3787877b38870c0fcdf2bae4
tree71d93a814709816882cef1fcef491f6fdc9c8f5f
parent0218c000b4641d9f26de8cdf89ed4ac6f212bdac
layers: GH117: swapchain layer warns if app uses neither semaphore nor fence.

This addresses github issue #117.  Applications should call
vkAcquireNextImageKHR with either a valid semaphore and/or fence.  Issue a
warning if both are set to VK_NULL_HANDLE.
layers/swapchain.cpp
layers/swapchain.h
layers/vk_validation_layer_details.md