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)
commit883ee3f865f9dbd83134d148b26e96cb6a926b3d
treecfb5890a1d0a35136efbd05d0e05f0b8e264c12c
parent7e5c0c26004626cf6826dfe2779a738a1f9f1fff
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