layers: Refactor buffer/image validation functions
authorTobin Ehlis <tobine@google.com>
Wed, 20 Jul 2016 19:27:33 +0000 (13:27 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 21 Jul 2016 12:45:08 +0000 (06:45 -0600)
commitefff6e216a25b8d63deb2f00c92dfb733277bca7
treec2151290b625589fdd07080b906063f60ff6a3f3
parent10ae364a610b38546917985c248e952a8b97c6b4
layers: Refactor buffer/image validation functions

Add some consts and put fwd decls in core_validation_types.h so that these
can be used by descriptor_set class.
layers/core_validation.cpp
layers/core_validation_types.h