mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-16 05:11:28 -06:00
non-depth attachments also perform render pass loads
This commit is contained in:
parent
9fd42a60b2
commit
853b7fcb70
@ -1037,8 +1037,7 @@ void VulkanRenderer::sync_RenderPassLoadTextures(CachedFBOVk* fboVk)
|
||||
if (texVk->m_vkFlushIndex_write == m_state.currentFlushIndex)
|
||||
flushRequired = true;
|
||||
|
||||
if ((texVk->GetImageAspect() | VK_IMAGE_ASPECT_DEPTH_BIT) != 0)
|
||||
texVk->m_vkFlushIndex_read = m_state.currentFlushIndex;
|
||||
texVk->m_vkFlushIndex_read = m_state.currentFlushIndex;
|
||||
}
|
||||
if (flushRequired)
|
||||
sync_performFlushBarrier();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user