layers: Add VUs 1275, 1276, 1277 related to gh1507
authorDave Houlton <daveh@lunarg.com>
Fri, 3 Mar 2017 00:00:10 +0000 (17:00 -0700)
committerDave Houlton <daveh@lunarg.com>
Tue, 7 Mar 2017 18:19:42 +0000 (11:19 -0700)
commit76bcbd2472e9a4c0dc4830fa4d4c5faba5d11885
tree6f73afb67c65c693f6fa5e8906b1083b34a436f6
parent6072cc914a1807b803601f7da928edfd4b150104
layers: Add VUs 1275, 1276, 1277 related to gh1507

Adds 3 new valid usage checks related to the bugfix, and the
layer_validation_tests code to exercise 2 of them. The third check,
01277, cannot be provoked by a test because it would require a
compressed texture format with block z-dimension > 1, which does
not (currently) exist for Vulkan.

Change-Id: I6c467e64c420b6a453af57f7ff86e1465e132988
layers/buffer_validation.cpp
layers/vk_validation_error_database.txt