diff options
| author | Alex Smith <alex@alex-smith.me.uk> | 2016-09-23 12:18:51 +0100 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-09-23 10:26:32 -0600 |
| commit | 6d1e8e2cd0e4bdd089197e6a5a72958dbb4210b0 (patch) | |
| tree | 3b3e3e869504766b5db44bfeb5bf76ff39328bdf /layers/descriptor_sets.cpp | |
| parent | 6939d202c3b339fcf75e0be66e3e0091a55c121c (diff) | |
| download | usermoji-6d1e8e2cd0e4bdd089197e6a5a72958dbb4210b0.tar.xz | |
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
Diffstat (limited to 'layers/descriptor_sets.cpp')
| -rw-r--r-- | layers/descriptor_sets.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layers/descriptor_sets.cpp b/layers/descriptor_sets.cpp index d7ca0255..d08a110f 100644 --- a/layers/descriptor_sets.cpp +++ b/layers/descriptor_sets.cpp @@ -1359,6 +1359,7 @@ bool cvdescriptorset::DescriptorSet::VerifyCopyUpdateContents(const VkCopyDescri return false; } } + break; } case Image: { for (uint32_t di = 0; di < update->descriptorCount; ++di) { |
