Fix frame pacing issues (#3032)

This commit is contained in:
Adrian Cojocaru
2024-11-26 18:53:41 +02:00
committed by GitHub
parent e394fcd4a4
commit 1a38075a1c
8 changed files with 32 additions and 12 deletions

View File

@@ -74,7 +74,7 @@ BufferResource::BufferResource(
VmaAllocationCreateInfo allocationInfo = {};
allocationInfo.usage = VMA_MEMORY_USAGE_AUTO_PREFER_HOST;
allocationInfo.usage = VMA_MEMORY_USAGE_AUTO_PREFER_DEVICE;
allocationInfo.requiredFlags = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT | VK_MEMORY_PROPERTY_HOST_COHERENT_BIT;
allocationInfo.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_SEQUENTIAL_WRITE_BIT | VMA_ALLOCATION_CREATE_MAPPED_BIT;