1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-11 10:24:10 +01:00

[dxvk] Use new barrier helpers in spillRenderPass

This commit is contained in:
Philip Rebohle 2024-10-12 10:05:16 +02:00 committed by Philip Rebohle
parent c2edd0f9bb
commit d00d0a39ce

View File

@ -4457,13 +4457,13 @@ namespace dxvk {
else
this->transitionRenderTargetLayouts(false);
m_execBarriers.recordCommands(m_cmd);
flushBarriers();
} else if (!suspend) {
// We may end a previously suspended render pass
if (m_flags.test(DxvkContextFlag::GpRenderPassSuspended)) {
m_flags.clr(DxvkContextFlag::GpRenderPassSuspended);
this->transitionRenderTargetLayouts(false);
m_execBarriers.recordCommands(m_cmd);
flushBarriers();
}
// Execute deferred clears if necessary