ATOM-15808 [RHI][Vulkan] Take out the early memory check exit to let the developers decide what to do if device memory is less than the requirement.
JIRA: https://jira.agscollab.com/browse/ATOM-15808
This commit is contained in:
@@ -64,10 +64,7 @@ namespace AZ
|
||||
physicalDevice->Init(device);
|
||||
size_t gpuMemSize = physicalDevice->GetDescriptor().m_heapSizePerLevel[static_cast<size_t>(RHI::HeapMemoryLevel::Device)];
|
||||
AZ_Warning("Vulkan", gpuMemSize >= MinGPUMemSize, "Rejecting GPU %s as it's gpu mem size of %zu bytes is less than min required size of %zu bytes for Vulkan API", physicalDevice->GetDescriptor().m_description.c_str(), gpuMemSize, MinGPUMemSize);
|
||||
if (gpuMemSize >= MinGPUMemSize)
|
||||
{
|
||||
physicalDeviceList.emplace_back(physicalDevice);
|
||||
}
|
||||
physicalDeviceList.emplace_back(physicalDevice);
|
||||
}
|
||||
|
||||
return physicalDeviceList;
|
||||
|
||||
Reference in New Issue
Block a user