layers: Fix and convert buffer barrier size check
authorJohn Zulauf <jzulauf@lunarg.com>
Tue, 20 Feb 2018 19:19:28 +0000 (12:19 -0700)
committerjzulauf-lunarg <32470354+jzulauf-lunarg@users.noreply.github.com>
Wed, 21 Feb 2018 14:37:25 +0000 (07:37 -0700)
commita7868c997b5be32337e93251a8cbd88e3e8b60b8
treeac572433e7a26e0acb00403ed185e7b568c4b855
parent15c76c34194e8a929e97a420a4d5efe517b82dce
layers: Fix and convert buffer barrier size check

Change buffer barrier size check to compare against the created size of
the buffer, not the memory requirements size, and add VUID info to
validation.  Update test to reflect validation changes.

Change-Id: Ib61d6bcd0df449bacd063ece44426ba6196b62e6
layers/core_validation.cpp
layers/vk_validation_error_database.txt
tests/layer_validation_tests.cpp
tests/vktestbinding.h