GS: Skip autoflush optimisation when pending texflush

This commit is contained in:
refractionpcsx2 2023-06-12 23:23:24 +01:00
parent 76cbc64f99
commit 35971b29bc
1 changed files with 1 additions and 1 deletions

View File

@ -2841,7 +2841,7 @@ template<u32 prim, bool index_swap>
__forceinline void GSState::HandleAutoFlush()
{
// Kind of a cheat, making the assumption that 2 consecutive fan/strip triangles won't overlap each other (*should* be safe)
if ((m_index.tail & 1) && (prim == GS_TRIANGLESTRIP || prim == GS_TRIANGLEFAN))
if ((m_index.tail & 1) && (prim == GS_TRIANGLESTRIP || prim == GS_TRIANGLEFAN) && !m_texflush_flag)
return;
// To briefly explain what's going on here, what we are checking for is draws over a texture when the source and destination are themselves.