mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
vulkan: flush allocations if needed
There is no guarantee that the created buffer is actually host coherent. If it is not we have to manually flush it.
This commit is contained in:
@@ -62,6 +62,7 @@ private:
|
||||
VmaAllocationInfo allocInfo;
|
||||
VkBuffer buffer = VK_NULL_HANDLE;
|
||||
int frameIndex = 0;
|
||||
bool coherent;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user