mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[dxvk] Use new barrier helpers in copyBuffer
This commit is contained in:
parent
6ef6cb3b45
commit
3ecca3d171
@ -401,9 +401,8 @@ namespace dxvk {
|
||||
if (!replaceBuffer) {
|
||||
this->spillRenderPass(true);
|
||||
|
||||
if (m_execBarriers.isBufferDirty(srcSlice, DxvkAccess::Read)
|
||||
|| m_execBarriers.isBufferDirty(dstSlice, DxvkAccess::Write))
|
||||
m_execBarriers.recordCommands(m_cmd);
|
||||
flushPendingAccesses(*srcBuffer, srcOffset, numBytes, DxvkAccess::Read);
|
||||
flushPendingAccesses(*dstBuffer, dstOffset, numBytes, DxvkAccess::Write);
|
||||
}
|
||||
|
||||
DxvkCmdBuffer cmdBuffer = replaceBuffer
|
||||
|
Loading…
x
Reference in New Issue
Block a user