mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-04-15 12:51:29 -06:00
Remove duplicate WAW detection.
This commit is contained in:
parent
853b7fcb70
commit
55bc72fb34
@ -1033,7 +1033,7 @@ void VulkanRenderer::sync_RenderPassLoadTextures(CachedFBOVk* fboVk)
|
||||
{
|
||||
LatteTextureVk* texVk = (LatteTextureVk*)tex;
|
||||
|
||||
//RAW
|
||||
//RAW / WAW
|
||||
if (texVk->m_vkFlushIndex_write == m_state.currentFlushIndex)
|
||||
flushRequired = true;
|
||||
|
||||
@ -1052,9 +1052,6 @@ void VulkanRenderer::sync_RenderPassStoreTextures(CachedFBOVk* fboVk)
|
||||
//WAR
|
||||
if (texVk->m_vkFlushIndex_read == m_state.currentFlushIndex)
|
||||
flushRequired = true;
|
||||
//WAW
|
||||
if (texVk->m_vkFlushIndex_write == m_state.currentFlushIndex)
|
||||
flushRequired = true;
|
||||
texVk->m_vkFlushIndex_write = m_state.currentFlushIndex;
|
||||
}
|
||||
if (flushRequired)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user