tests: GH421 vkUpdateDescriptorSets tests
authorMark Mueller <markm@lunarg.com>
Mon, 13 Jun 2016 23:52:06 +0000 (17:52 -0600)
committerMark Mueller <markm@lunarg.com>
Wed, 15 Jun 2016 23:23:51 +0000 (17:23 -0600)
commit9d2e7a3073fdc19f35b8a48f075764e6f982d153
treeb379527cb5adb98958e98126febbea0ed7171b0a
parent2a66ce89482cf41899e9930a217cfe424f919861
tests: GH421 vkUpdateDescriptorSets tests

A) Adding the WriteDescriptorSetIntegrityCheck test, which verifies
some requirements of chapter 13.2.3 of the Vulkan Spec
 1) A uniform buffer update must have a valid buffer index.
 2) When using an array of descriptors in a single WriteDescriptor,
      the descriptor types and stageflags must all be the same.
 3) Immutable Sampler state must match across descriptors
The above tests also exercise cases where descriptors are updated with
consecutive bindings both correctly and incorrectly

B) adding a MissingClearAttachment test that points to a wrong
colorAttachment index in a VkClearAttachment structure passed to
vkCmdClearAttachments

C) update vk_validation_layer_details.md to reflect above changes.

Change-Id: I3f4f2233371b68caf23b5a4111d63a94765121c3
layers/vk_validation_layer_details.md
tests/layer_validation_tests.cpp