summaryrefslogtreecommitdiffstats
path: root/tools/gfx/vulkan
diff options
context:
space:
mode:
authorArielG-NV <159081215+ArielG-NV@users.noreply.github.com>2024-05-22 09:18:22 -0400
committerGitHub <noreply@github.com>2024-05-22 06:18:22 -0700
commit8e15bdc9179213d403b540a879a1816699bde5e6 (patch)
treeee986632900f4ca7c65065f6866cb51d2544105f /tools/gfx/vulkan
parent52b5bb43fd2933a30b405e7938ff62b209eea026 (diff)
Fix all Clang-14 warnings (#4203)
* fix all Clang-14 warnings * remove a clang-14 warning fix because it is a MSVC warning...
Diffstat (limited to 'tools/gfx/vulkan')
-rw-r--r--tools/gfx/vulkan/vk-device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gfx/vulkan/vk-device.cpp b/tools/gfx/vulkan/vk-device.cpp
index 03165f606..8ad941ead 100644
--- a/tools/gfx/vulkan/vk-device.cpp
+++ b/tools/gfx/vulkan/vk-device.cpp
@@ -1678,7 +1678,7 @@ Result DeviceImpl::createTextureResource(
break;
case SLANG_SCALAR_TYPE_UINT32:
for(int i = 0; i < 4; i++)
- clearColor.uint32[i] = *reinterpret_cast<uint32_t*>(const_cast<void*>(initData->data)); break;
+ clearColor.uint32[i] = *reinterpret_cast<uint32_t*>(const_cast<void*>(initData->data));
break;
case SLANG_SCALAR_TYPE_INT64:
{