layers: Fixed some blitimage VUs
authorMark Lobodzinski <mark@lunarg.com>
Mon, 6 Feb 2017 22:04:23 +0000 (15:04 -0700)
committerMark Lobodzinski <mark@lunarg.com>
Tue, 7 Feb 2017 21:02:48 +0000 (14:02 -0700)
commite29da03f6e7a3028855c19979a111053773fa65c
tree373d645fd529640f2ee9edf4d531bceb283eb5d7
parentf5b5c8cfd935f5209858ab1e0b19b76aedbcefbf
layers: Fixed some blitimage VUs

There were three checks which were improperly limited to depth-stencil
aspects. Two of the checks (for zero layerCounts) are also not prohibited
by the spec (for ImageBlit structures, anyhow) and so have been changed
to warnings. The remaining check for matching src and dest layerCounts
was moved and had the correct VU ID added.

Change-Id: Idb37fa94e4359e25c7bdcaed8ad65c2ddddefe0d
layers/buffer_validation.cpp
layers/core_validation.cpp
layers/core_validation_types.h
layers/vk_validation_error_database.txt