mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-06-05 15:03:51 +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
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue