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:
parent
ab300dce2f
commit
e70e72f109
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user