mirror of https://github.com/PCSX2/pcsx2.git
GS: Skip autoflush optimisation when pending texflush
This commit is contained in:
parent
76cbc64f99
commit
35971b29bc
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue