Remove duplicate WAW detection.

This commit is contained in:
goeiecool9999 2025-12-27 14:40:22 +01:00
parent 853b7fcb70
commit 55bc72fb34

View File

@ -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)