1
0
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:
Philip Rebohle 2024-10-12 01:06:12 +02:00 committed by Philip Rebohle
parent cc3dd31a5f
commit 5dfc4d6300

View File

@ -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