layers: Refactor set/validate memory valid functions
authorTobin Ehlis <tobine@google.com>
Thu, 11 Aug 2016 01:11:54 +0000 (19:11 -0600)
committerTobin Ehlis <tobine@google.com>
Mon, 15 Aug 2016 17:26:36 +0000 (11:26 -0600)
commitc2b955f702830485b318d0d4daac40ac0c2f828c
tree6bbb09cce7430db2900631bd7951313edaf126dc
parent2a626fab7ed72afc0c7e6d579bd99a593f21b711
layers: Refactor set/validate memory valid functions

Create custom image and buffer versions of functions to minimize casting.
layers/core_validation.cpp