layers: MR142/GL89, draw_state: check swapchain images during descriptor updates
authorTobin Ehlis <tobine@google.com>
Tue, 19 Jan 2016 15:36:40 +0000 (08:36 -0700)
committerMark Lobodzinski <mark@lunarg.com>
Tue, 19 Jan 2016 18:49:28 +0000 (11:49 -0700)
commiteafb6206f2b5f0c2a66cb8ea285c17e40c1894ed
tree7d6ce650b3db3b2bfde8d9199bd8d58f6e085a14
parenta40f8f45ca8002bb0750208489d52d7cc303296f
layers: MR142/GL89, draw_state: check swapchain images during descriptor updates

When vkUpdateDescriptorSets() is called, if an imageView was being updated, we
were not including swapchain images in the check to verify a valid image.
Adding these to the check to avoid false positives.
layers/draw_state.cpp