layers: Fix lx474 by adding image extent = 0 validation check.
authorMark Young <marky@lunarg.com>
Mon, 11 Apr 2016 20:26:49 +0000 (14:26 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 14 Apr 2016 22:43:21 +0000 (16:43 -0600)
commit5acffad6db51af7730cd8727c581ae7048c78c80
tree84979f5ebffe984ee8e8701f11651416fe9f01ba
parent2fb0dba25a2ef615bc82cb43af333acacd99b82f
layers: Fix lx474 by adding image extent = 0 validation check.

Check only the valid dimensions for the imageType provided in
the create info.

Change-Id: I11d484caf1085b7b0ae4a402453b5fdcadd7b67d
layers/image.cpp
tests/layer_validation_tests.cpp