mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-15 12:51:29 -06:00
do not put barrier in render pass
This commit is contained in:
parent
4b42b508a1
commit
9fd42a60b2
@ -1129,14 +1129,14 @@ void VulkanRenderer::draw_setRenderPass()
|
||||
|
||||
const bool syncSkipAllowed = !m_state.hasRenderSelfDependency || !(GetConfig().vk_accurate_barriers || m_state.activePipelineInfo->neverSkipAccurateBarrier);
|
||||
|
||||
const bool inputSyncNecessary = sync_isInputTexturesSyncRequired();
|
||||
|
||||
const bool FBOChanged = m_state.activeRenderpassFBO != fboVk;
|
||||
|
||||
const bool passReusable = !FBOChanged && syncSkipAllowed;
|
||||
const bool passReusable = !FBOChanged && !inputSyncNecessary && syncSkipAllowed;
|
||||
|
||||
if (passReusable)
|
||||
{
|
||||
if (sync_isInputTexturesSyncRequired())
|
||||
sync_performFlushBarrier();
|
||||
// reuse previous render pass
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user