mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-06-03 21:24:59 -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;
|
LatteTextureVk* texVk = (LatteTextureVk*)tex;
|
||||||
|
|
||||||
//RAW
|
//RAW / WAW
|
||||||
if (texVk->m_vkFlushIndex_write == m_state.currentFlushIndex)
|
if (texVk->m_vkFlushIndex_write == m_state.currentFlushIndex)
|
||||||
flushRequired = true;
|
flushRequired = true;
|
||||||
|
|
||||||
@ -1052,9 +1052,6 @@ void VulkanRenderer::sync_RenderPassStoreTextures(CachedFBOVk* fboVk)
|
|||||||
//WAR
|
//WAR
|
||||||
if (texVk->m_vkFlushIndex_read == m_state.currentFlushIndex)
|
if (texVk->m_vkFlushIndex_read == m_state.currentFlushIndex)
|
||||||
flushRequired = true;
|
flushRequired = true;
|
||||||
//WAW
|
|
||||||
if (texVk->m_vkFlushIndex_write == m_state.currentFlushIndex)
|
|
||||||
flushRequired = true;
|
|
||||||
texVk->m_vkFlushIndex_write = m_state.currentFlushIndex;
|
texVk->m_vkFlushIndex_write = m_state.currentFlushIndex;
|
||||||
}
|
}
|
||||||
if (flushRequired)
|
if (flushRequired)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user