forked from MoonsideGames/Refresh
force ignore device-local property if allocation failed
parent
30b5f1dd21
commit
2803e6d94e
|
@ -3057,6 +3057,8 @@ static uint8_t VULKAN_INTERNAL_BindMemoryForBuffer(
|
||||||
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT;
|
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ignoredMemoryPropertyFlags = VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT;
|
||||||
|
|
||||||
/* Follow-up for the warning logged by FindMemoryType */
|
/* Follow-up for the warning logged by FindMemoryType */
|
||||||
if (!renderer->unifiedMemoryWarning)
|
if (!renderer->unifiedMemoryWarning)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue