layers:Refactor image layout validation
authorTobin Ehlis <tobine@google.com>
Fri, 17 Feb 2017 22:17:04 +0000 (15:17 -0700)
committerTobin Ehlis <tobine@google.com>
Fri, 7 Apr 2017 16:28:02 +0000 (10:28 -0600)
commit4f211053e71ceed79449a98514c7d190b1247a2a
treea07e976869a15b5c04cfe5495000a01174065f0a
parent8e04c6f0054eccf28f26245255eb05685a7c11ba
layers:Refactor image layout validation

Streamline some of the image layout validation code. At the time of
CmdBeginRenderPass() remove the layout transition from validation code
and perform the layout transitions all at once.
This allows a bit of transition code to be killed so that the initial
transition code can share TransitionSubpassLayouts() function.
layers/buffer_validation.cpp
layers/buffer_validation.h
layers/core_validation.cpp