mark memory as BDA-containing for vkBindBufferMemory2

This commit is contained in:
baldurk
2024-10-09 13:02:43 +01:00
parent f367dbdfc9
commit c00d498986
@@ -3020,6 +3020,8 @@ VkResult WrappedVulkan::vkBindBufferMemory2(VkDevice device, uint32_t bindInfoCo
GetResourceManager()->MarkMemoryFrameReferenced(
GetResID(pBindInfos[i].memory), pBindInfos[i].memoryOffset, bufrecord->memSize,
eFrameRef_ReadBeforeWrite);
memrecord->hasBDA = true;
}
// the memory is immediately dirty because we don't use dirty tracking, it's too expensive to