layers: Move pre/post CreateImageView out of CV
authorMark Lobodzinski <mark@lunarg.com>
Thu, 9 Feb 2017 18:01:33 +0000 (11:01 -0700)
committerMark Lobodzinski <mark@lunarg.com>
Fri, 10 Feb 2017 19:15:31 +0000 (12:15 -0700)
commitc5d7baa13cec75197c9a0d500c1c3753ef5015a9
tree57a45bc1e1fac20318198fb99945575d33e5feb3
parent49f30125bb577ac9bd7d98d1ed820ab114a84057
layers: Move pre/post CreateImageView out of CV

Moved PreCallValidateCreateImageView and the postCallRecord routine,
along with a couple of helpers: ValidateImageSubrangeLevelLayerCounts
and ValidateImageAspectMask.

Change-Id: I1d94ecee6244010d71cf910a95aeb320c30fc0fb
layers/buffer_validation.cpp
layers/buffer_validation.h
layers/core_validation.cpp
layers/core_validation_types.h