From de2d041e472040f6c32689b6eb08efbe42a24eab Mon Sep 17 00:00:00 2001 From: Wojciech Figat Date: Fri, 1 Jul 2022 14:10:54 +0200 Subject: [PATCH] Fix warning --- Source/Engine/GraphicsDevice/Vulkan/GPUContextVulkan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/GraphicsDevice/Vulkan/GPUContextVulkan.cpp b/Source/Engine/GraphicsDevice/Vulkan/GPUContextVulkan.cpp index 97c172d44..702c8afaa 100644 --- a/Source/Engine/GraphicsDevice/Vulkan/GPUContextVulkan.cpp +++ b/Source/Engine/GraphicsDevice/Vulkan/GPUContextVulkan.cpp @@ -453,7 +453,7 @@ void GPUContextVulkan::UpdateDescriptorSets(const SpirvShaderDescriptorInfo& des DescriptorOwnerResourceVulkan** handles = _handles[(int32)descriptor.BindingType]; for (uint32 index = 0; index < descriptor.Count; index++) { - const int32 slot = descriptor.Slot + index; + const uint32 slot = descriptor.Slot + index; ASSERT(slot < _handlesSizes[(int32)descriptor.BindingType]); switch (descriptor.DescriptorType) {