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) {