force ignore device-local property if allocation failed

remotes/1715311535680669863/main
cosmonaut 2024-01-31 14:36:02 -08:00
parent 30b5f1dd21
commit 2803e6d94e
1 changed files with 2 additions and 0 deletions

View File

@ -3057,6 +3057,8 @@ static uint8_t VULKAN_INTERNAL_BindMemoryForBuffer(
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT;
}
ignoredMemoryPropertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT;
/* Follow-up for the warning logged by FindMemoryType */
if (!renderer->unifiedMemoryWarning)
{