Added missing vmaFlushAllocation in documentation

Fixes #316
This commit is contained in:
Adam Sawicki 2023-01-30 14:18:09 +01:00
parent 29d492b60c
commit 7c35d6299b
8 changed files with 262 additions and 285 deletions

View file

@ -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