mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-01-30 19:23:12 +00:00
non-depth attachments also perform render pass loads
This commit is contained in:
parent
5430437da7
commit
95606a3e1c
@ -1097,8 +1097,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