layers:Add image checks for DS image being cleared
authorTobin Ehlis <tobine@google.com>
Thu, 30 Nov 2017 20:47:11 +0000 (13:47 -0700)
committerTobin Ehlis <tobine@google.com>
Wed, 6 Dec 2017 16:25:20 +0000 (09:25 -0700)
commit6dae233e4721ed58ff91a251ba6179eaf50bc545
tree3fcb7ae0e1422a03bfd5cac58fdcde4b6efb4896
parenta271e32efd527395f4f9e5aaa42cf07efbbdd99e
layers:Add image checks for DS image being cleared

Adding checks for two new VUIDs related to vkCmdClearDepthStencilImage
function. Making sure that the image being cleared supports use as a
transfer destination and that the image was created with the usage bit
VK_IMAGE_USAGE_TRANSFER_DST_BIT.
layers/buffer_validation.cpp
layers/vk_validation_error_database.txt