layers:Refactor barrier check order
authorTobin Ehlis <tobine@google.com>
Fri, 21 Jul 2017 16:16:08 +0000 (10:16 -0600)
committerTobin Ehlis <tobine@google.com>
Mon, 24 Jul 2017 21:28:18 +0000 (15:28 -0600)
commita287b10c55baa7d2d2ac891eb729666f988766ea
treec113b926e16feac1825ab67d7cdb10a51abeeaae
parent2c6df996f707fb5042cdda9e07f8912dda261758
layers:Refactor barrier check order

Do the renderPass barrier check first and early return to avoid
potential redundant errors from remaining layout and barrier checks.
layers/core_validation.cpp