ATOM-15266 added location in the assert message where the descriptor set will be re-created

This commit is contained in:
Peng
2021-05-12 17:51:30 -07:00
parent 1d1be98d8b
commit 1fe81c1533
@@ -241,8 +241,8 @@ namespace AZ
VkResult result = vkAllocateDescriptorSets(descriptor.m_device->GetNativeDevice(), &allocInfo, &m_nativeDescriptorSet);
if (result == VK_ERROR_FRAGMENTED_POOL)
{
// fragmented pool will be re-created subsequently, so warning only
AZ_Warning("Vulkan RHI", false, "Fragmented pool");
// fragmented pool will be re-created subsequently in DescriptorSetAllocator, so warning only
AZ_Warning("Vulkan RHI", false, "Fragmented pool, will be recreated in DescriptorSetAllocator afterward");
}
else
{