VmaReplay: Added usage of VMA_ALLOCATOR_CREATE_EXTERNALLY_SYNCHRONIZED_BIT, as the app is currently single-threaded only anyway.

This commit is contained in:
Adam Sawicki 2018-08-22 11:46:26 +02:00
parent 3b96fb8130
commit 83e5ea42f7

View File

@ -1519,6 +1519,7 @@ int Player::InitVulkan()
VmaAllocatorCreateInfo allocatorInfo = {}; VmaAllocatorCreateInfo allocatorInfo = {};
allocatorInfo.physicalDevice = m_PhysicalDevice; allocatorInfo.physicalDevice = m_PhysicalDevice;
allocatorInfo.device = m_Device; allocatorInfo.device = m_Device;
allocatorInfo.flags = VMA_ALLOCATOR_CREATE_EXTERNALLY_SYNCHRONIZED_BIT;
if(m_DedicatedAllocationEnabled) if(m_DedicatedAllocationEnabled)
{ {