1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[dxvk] Use new barrier helpers in updateBuffer

This commit is contained in:
Philip Rebohle 2024-10-12 09:06:43 +02:00 committed by Philip Rebohle
parent ab300dce2f
commit e70e72f109

View File

@ -1980,9 +1980,8 @@ namespace dxvk {
if (!replaceBuffer) {
this->spillRenderPass(true);
if (m_execBarriers.isBufferDirty(bufferSlice, DxvkAccess::Write))
m_execBarriers.recordCommands(m_cmd);
flushPendingAccesses(*buffer, offset, size, DxvkAccess::Write);
}
DxvkCmdBuffer cmdBuffer = replaceBuffer