layers:Check barrier image vs subpass attachments
authorTobin Ehlis <tobine@google.com>
Thu, 20 Jul 2017 23:47:24 +0000 (17:47 -0600)
committerTobin Ehlis <tobine@google.com>
Mon, 24 Jul 2017 21:28:18 +0000 (15:28 -0600)
commitc9ab1cb8d6eded40456129fc760974337304852a
tree730abec69b745e8d5fa2c4d8bd4add44751e6169
parent4fe6e5b2ee0a6643fc64345824e2d4b5f24a7d89
layers:Check barrier image vs subpass attachments

This is the second half of VALIDATION_ERROR_1b800936, for which the
first half was already implemented. Make sure that VkSubpassDescription
for current subpass references the attachment that has an image
matching the image barrier.
layers/core_validation.cpp