layers: Fix VerifyCopyUpdateContents on combined image sampler descriptors
authorAlex Smith <alex@alex-smith.me.uk>
Fri, 23 Sep 2016 11:18:51 +0000 (12:18 +0100)
committerTobin Ehlis <tobine@google.com>
Fri, 23 Sep 2016 16:26:32 +0000 (10:26 -0600)
commit6d1e8e2cd0e4bdd089197e6a5a72958dbb4210b0
tree3b3e3e869504766b5db44bfeb5bf76ff39328bdf
parent6939d202c3b339fcf75e0be66e3e0091a55c121c
layers: Fix VerifyCopyUpdateContents on combined image sampler descriptors

A missing break at the end of the ImageSampler case results in falling
through to the Image case, leading to spurious validation errors such as:

  vkUpdateDescriptorsSets() failed copy update from Descriptor Set 0x108
  to Descriptor Set 0x137 with error: Attempted copy update to image
  descriptor failed due to: Invalid VkImageView: 0x100000000
layers/descriptor_sets.cpp