layers: Add binding for framebuffer children
authorTobin Ehlis <tobine@google.com>
Wed, 14 Sep 2016 21:26:09 +0000 (15:26 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 22 Sep 2016 13:21:24 +0000 (07:21 -0600)
commit7a2d99d5d038c6b20cc6d900f17fea8b0ef4107e
tree23d95a1f0790c0d65bd0a8f74bfe02fdfc56b1da
parentc9b557f81aa5e480823e8051ea1663cacb8668c4
layers: Add binding for framebuffer children

When BeginCommandBuffer and CmdBeginRenderPass are called, need to bind
not only the framebuffer, but all of the framebuffer's children objects
to the command buffer.
This includes the imageViews that are in the attachments as well as their
children and the renderpass.
Added this binding and included IMAGE_VIEW_STATE* in framebuffer
attachment struct for simplicity when creating binding.
layers/core_validation.cpp
layers/core_validation.h