From 3d548f222fed040cdeb7f49ab69422f4f66fa64e Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Fri, 13 Apr 2018 15:24:13 -0600 Subject: layers:Update comments to avoid compiler warnings The simple "// fall through" comment causes the compiler to omit a warning. --- layers/descriptor_sets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layers/descriptor_sets.cpp') 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()) { -- cgit v1.2.3