aboutsummaryrefslogtreecommitdiff
path: root/layers/descriptor_sets.cpp
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2018-04-13 15:24:13 -0600
committerTobin Ehlis <tobine@google.com>2018-04-17 09:38:34 -0600
commit3d548f222fed040cdeb7f49ab69422f4f66fa64e (patch)
tree30efcb7c03d81ed9edadd24f58ee04a5082c2977 /layers/descriptor_sets.cpp
parentc83d6a377a91e496ccaf55dba78f29bf4e7c30ee (diff)
downloadusermoji-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.cpp2
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()) {