mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2025-05-14 08:48:32 +00:00
parent
29d492b60c
commit
7c35d6299b
8 changed files with 262 additions and 285 deletions
|
@ -19166,6 +19166,7 @@ else
|
|||
|
||||
// [Executed in runtime]:
|
||||
memcpy(stagingAllocInfo.pMappedData, myData, myDataSize);
|
||||
vmaFlushAllocation(allocator, stagingAlloc, 0, VK_WHOLE_SIZE);
|
||||
//vkCmdPipelineBarrier: VK_ACCESS_HOST_WRITE_BIT --> VK_ACCESS_TRANSFER_READ_BIT
|
||||
VkBufferCopy bufCopy = {
|
||||
0, // srcOffset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue