1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-31 14:52:11 +01:00

[dxvk] Flush queued barriers when binding any frame buffer

We need to flush when starting meta render passes as well.
This commit is contained in:
Philip Rebohle 2018-09-25 19:05:41 +02:00
parent 8bcd47d6dc
commit 63d7770870
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -1885,8 +1885,6 @@ namespace dxvk {
m_flags.set(DxvkContextFlag::GpRenderPassBound);
m_flags.clr(DxvkContextFlag::GpClearRenderTargets);
m_barriers.recordCommands(m_cmd);
this->renderPassBindFramebuffer(
m_state.om.framebuffer,
m_state.om.renderPassOps,
@ -1941,6 +1939,8 @@ namespace dxvk {
info.clearValueCount = clearValueCount;
info.pClearValues = clearValues;
m_barriers.recordCommands(m_cmd);
m_cmd->cmdBeginRenderPass(&info,
VK_SUBPASS_CONTENTS_INLINE);