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:
parent
c2edd0f9bb
commit
d00d0a39ce
@ -4457,13 +4457,13 @@ namespace dxvk {
|
|||||||
else
|
else
|
||||||
this->transitionRenderTargetLayouts(false);
|
this->transitionRenderTargetLayouts(false);
|
||||||
|
|
||||||
m_execBarriers.recordCommands(m_cmd);
|
flushBarriers();
|
||||||
} else if (!suspend) {
|
} else if (!suspend) {
|
||||||
// We may end a previously suspended render pass
|
// We may end a previously suspended render pass
|
||||||
if (m_flags.test(DxvkContextFlag::GpRenderPassSuspended)) {
|
if (m_flags.test(DxvkContextFlag::GpRenderPassSuspended)) {
|
||||||
m_flags.clr(DxvkContextFlag::GpRenderPassSuspended);
|
m_flags.clr(DxvkContextFlag::GpRenderPassSuspended);
|
||||||
this->transitionRenderTargetLayouts(false);
|
this->transitionRenderTargetLayouts(false);
|
||||||
m_execBarriers.recordCommands(m_cmd);
|
flushBarriers();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Execute deferred clears if necessary
|
// Execute deferred clears if necessary
|
||||||
|
Loading…
Reference in New Issue
Block a user