mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-04-03 07:25:18 +02:00
[dxvk] Use new barrier helpers in updateBuffer
This commit is contained in:
parent
ab300dce2f
commit
e70e72f109
@ -1981,8 +1981,7 @@ namespace dxvk {
|
|||||||
if (!replaceBuffer) {
|
if (!replaceBuffer) {
|
||||||
this->spillRenderPass(true);
|
this->spillRenderPass(true);
|
||||||
|
|
||||||
if (m_execBarriers.isBufferDirty(bufferSlice, DxvkAccess::Write))
|
flushPendingAccesses(*buffer, offset, size, DxvkAccess::Write);
|
||||||
m_execBarriers.recordCommands(m_cmd);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
DxvkCmdBuffer cmdBuffer = replaceBuffer
|
DxvkCmdBuffer cmdBuffer = replaceBuffer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user