mirror of https://github.com/PCSX2/pcsx2.git
gsdx hw: disable OI_GsMemClear when framebuffer writes are masked.
This commit is contained in:
parent
7202cac7d0
commit
2b2412ca20
|
@ -864,6 +864,7 @@ void GSRendererHW::OI_GsMemClear()
|
|||
{
|
||||
// Rectangle draw without texture
|
||||
if ((m_vt.m_primclass == GS_SPRITE_CLASS) && (m_vertex.next == 2) && !PRIM->TME && !PRIM->ABE // Direct write
|
||||
&& (m_context->FRAME.FBMSK == 0)
|
||||
&& !m_context->TEST.ATE // no alpha test
|
||||
&& (!m_context->TEST.ZTE || m_context->TEST.ZTST == ZTST_ALWAYS) // no depth test
|
||||
&& (m_vt.m_eq.rgba == 0xFFFF && m_vt.m_min.c.eq(GSVector4i(0))) // Constant 0 write
|
||||
|
|
Loading…
Reference in New Issue