mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-31 14: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) {
|
if (!replaceBuffer) {
|
||||||
this->spillRenderPass(true);
|
this->spillRenderPass(true);
|
||||||
|
|
||||||
if (m_execBarriers.isBufferDirty(srcSlice, DxvkAccess::Read)
|
flushPendingAccesses(*srcBuffer, srcOffset, numBytes, DxvkAccess::Read);
|
||||||
|| m_execBarriers.isBufferDirty(dstSlice, DxvkAccess::Write))
|
flushPendingAccesses(*dstBuffer, dstOffset, numBytes, DxvkAccess::Write);
|
||||||
m_execBarriers.recordCommands(m_cmd);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DxvkCmdBuffer cmdBuffer = replaceBuffer
|
DxvkCmdBuffer cmdBuffer = replaceBuffer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user