diff options
| author | Tobin Ehlis <tobine@google.com> | 2018-04-13 15:24:13 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2018-04-17 09:38:34 -0600 |
| commit | 3d548f222fed040cdeb7f49ab69422f4f66fa64e (patch) | |
| tree | 30efcb7c03d81ed9edadd24f58ee04a5082c2977 /layers/descriptor_sets.cpp | |
| parent | c83d6a377a91e496ccaf55dba78f29bf4e7c30ee (diff) | |
| download | usermoji-3d548f222fed040cdeb7f49ab69422f4f66fa64e.tar.xz | |
layers:Update comments to avoid compiler warnings
The simple "// fall through" comment causes the compiler to omit a
warning.
Diffstat (limited to 'layers/descriptor_sets.cpp')
| -rw-r--r-- | layers/descriptor_sets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/descriptor_sets.cpp b/layers/descriptor_sets.cpp index d9b23da3..f77af8fb 100644 --- a/layers/descriptor_sets.cpp +++ b/layers/descriptor_sets.cpp @@ -1884,8 +1884,8 @@ bool cvdescriptorset::DescriptorSet::VerifyWriteUpdateContents(const VkWriteDesc return false; } } - // Intentional fall-through to validate sampler } + // fall through case VK_DESCRIPTOR_TYPE_SAMPLER: { for (uint32_t di = 0; di < update->descriptorCount; ++di) { if (!descriptors_[index + di].get()->IsImmutableSampler()) { |
