mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-19 05:52:11 +01:00
[dxvk] Use new barrier helpers in clearBuffer
This commit is contained in:
parent
cc3dd31a5f
commit
5dfc4d6300
@ -224,8 +224,7 @@ namespace dxvk {
|
||||
if (!replaceBuffer) {
|
||||
this->spillRenderPass(true);
|
||||
|
||||
if (m_execBarriers.isBufferDirty(bufferSlice, DxvkAccess::Write))
|
||||
m_execBarriers.recordCommands(m_cmd);
|
||||
flushPendingAccesses(*buffer, offset, length, DxvkAccess::Write);
|
||||
}
|
||||
|
||||
DxvkCmdBuffer cmdBuffer = replaceBuffer
|
||||
|
Loading…
x
Reference in New Issue
Block a user