Core validation: VerifyClearImageLayout tweaks:
authorCort <github@dangerware.org>
Tue, 6 Dec 2016 01:33:49 +0000 (17:33 -0800)
committerTobin Ehlis <tobine@google.com>
Fri, 9 Dec 2016 16:35:31 +0000 (09:35 -0700)
commit1c2dd65baf29dba7c39172cf25f296a25baa4f3a
treecf20660d050f3f9c3fa906d935d45e21e2b6dc52
parent7f8aa8f5abceedbb599ef69af1dfbb38c0df2660
Core validation: VerifyClearImageLayout tweaks:
- Move test for invalid layouts before test for valid-but-non-matching layout
- Use unique error codes
- Pass caller function name to differentiate between color and depth/stencil clears
layers/core_validation.cpp