diff options
| author | Petr Kraus <petr_kraus@email.cz> | 2017-12-09 00:22:39 +0100 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2017-12-12 10:09:32 -0700 |
| commit | bc0ab75bcf390d0512f674fe81887e8b092634c0 (patch) | |
| tree | adf5ceac0ea0c531c8b54f17fd9d4a754ff74d11 /layers/descriptor_sets.cpp | |
| parent | f0ec4821fb8970635664b67bd7e8c7aa3cb04594 (diff) | |
| download | usermoji-bc0ab75bcf390d0512f674fe81887e8b092634c0.tar.xz | |
build: Clear some compiler warnings
- remove unnecessary ";" after function definitions and namespaces
- fix
wrong type match in printf for handle types
- convert some left-overs to `HandleToUint64`
Diffstat (limited to 'layers/descriptor_sets.cpp')
| -rw-r--r-- | layers/descriptor_sets.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layers/descriptor_sets.cpp b/layers/descriptor_sets.cpp index 52eff4cb..ade3e693 100644 --- a/layers/descriptor_sets.cpp +++ b/layers/descriptor_sets.cpp @@ -1016,7 +1016,7 @@ cvdescriptorset::ImageDescriptor::ImageDescriptor(const VkDescriptorType type) updated = false; descriptor_class = Image; if (VK_DESCRIPTOR_TYPE_STORAGE_IMAGE == type) storage_ = true; -}; +} void cvdescriptorset::ImageDescriptor::WriteUpdate(const VkWriteDescriptorSet *update, const uint32_t index) { updated = true; @@ -1079,7 +1079,7 @@ cvdescriptorset::TexelDescriptor::TexelDescriptor(const VkDescriptorType type) : updated = false; descriptor_class = TexelBuffer; if (VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER == type) storage_ = true; -}; +} void cvdescriptorset::TexelDescriptor::WriteUpdate(const VkWriteDescriptorSet *update, const uint32_t index) { updated = true; @@ -1678,7 +1678,7 @@ void cvdescriptorset::UpdateAllocateDescriptorSetsData(const layer_data *dev_dat } // Any unknown layouts will be flagged as errors during ValidateAllocateDescriptorSets() call } -}; +} // Verify that the state at allocate time is correct, but don't actually allocate the sets yet bool cvdescriptorset::ValidateAllocateDescriptorSets(const core_validation::layer_data *dev_data, const VkDescriptorSetAllocateInfo *p_alloc_info, |
