mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-12-27 03:10:14 +00:00
VmaReplay: Added usage of VMA_ALLOCATOR_CREATE_EXTERNALLY_SYNCHRONIZED_BIT, as the app is currently single-threaded only anyway.
This commit is contained in:
parent
3b96fb8130
commit
83e5ea42f7
@ -1519,6 +1519,7 @@ int Player::InitVulkan()
|
||||
VmaAllocatorCreateInfo allocatorInfo = {};
|
||||
allocatorInfo.physicalDevice = m_PhysicalDevice;
|
||||
allocatorInfo.device = m_Device;
|
||||
allocatorInfo.flags = VMA_ALLOCATOR_CREATE_EXTERNALLY_SYNCHRONIZED_BIT;
|
||||
|
||||
if(m_DedicatedAllocationEnabled)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user