mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-03 22:24:13 +01:00
[dxvk] Use new barrier helpers in spillRenderPass
This commit is contained in:
parent
c2edd0f9bb
commit
d00d0a39ce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user