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/vk_format_utils.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/vk_format_utils.cpp')
| -rw-r--r-- | layers/vk_format_utils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layers/vk_format_utils.cpp b/layers/vk_format_utils.cpp index 374cc602..f8bfdcf2 100644 --- a/layers/vk_format_utils.cpp +++ b/layers/vk_format_utils.cpp @@ -471,7 +471,7 @@ VK_LAYER_EXPORT bool FormatIsNorm(VkFormat format) { } return is_norm; -}; +} // Return true if format is of type UNORM VK_LAYER_EXPORT bool FormatIsUNorm(VkFormat format) { @@ -529,7 +529,7 @@ VK_LAYER_EXPORT bool FormatIsUNorm(VkFormat format) { } return is_unorm; -}; +} // Return true if format is of type SNORM VK_LAYER_EXPORT bool FormatIsSNorm(VkFormat format) { @@ -560,7 +560,7 @@ VK_LAYER_EXPORT bool FormatIsSNorm(VkFormat format) { } return is_snorm; -}; +} // Return true if format is an integer format VK_LAYER_EXPORT bool FormatIsInt(VkFormat format) { return (FormatIsSInt(format) || FormatIsUInt(format)); } |
