layers: Split VerifyClearImageLayout routine
authorMark Lobodzinski <mark@lunarg.com>
Tue, 31 Jan 2017 21:48:54 +0000 (14:48 -0700)
committerMark Lobodzinski <mark@lunarg.com>
Wed, 1 Feb 2017 14:30:11 +0000 (07:30 -0700)
commit6e455375ab1c6296cd2ddfabc050d5d81483fb74
treedfde8000be262c6239495096569716402d202426
parent707155593b049b7e1fed0cbb5823a39912535c5a
layers: Split VerifyClearImageLayout routine

This routine mixed validation checks and state updates. Split into
two routines: Validation is in VerifyClearImageLayout while state
updates are now in RecordClearImageLayout.

Change-Id: Ib6c943c0df16a9bdbcc7c44c775f371b56bbcbb2
layers/core_validation.cpp