mirror of https://github.com/PCSX2/pcsx2.git
GS-hw: Add missing stencil buffer check for fba or coverage alpha DATE.
This commit is contained in:
parent
4f93ee29e6
commit
5227bc9167
|
@ -3434,8 +3434,9 @@ void GSRendererHW::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sourc
|
|||
DATE_BARRIER = true;
|
||||
}
|
||||
}
|
||||
// When Blending is disabled and Edge Anti Aliasing is enabled, the output alpha is Coverage (which we force to 128) so DATE will fail/pass guaranteed on second pass.
|
||||
else if (m_conf.colormask.wa && (m_context->FBA.FBA || IsCoverageAlpha()))
|
||||
// When Blending is disabled and Edge Anti Aliasing is enabled,
|
||||
// the output alpha is Coverage (which we force to 128) so DATE will fail/pass guaranteed on second pass.
|
||||
else if (m_conf.colormask.wa && (m_context->FBA.FBA || IsCoverageAlpha()) && features.stencil_buffer)
|
||||
{
|
||||
GL_PERF("DATE: Fast with FBA, all pixels will be >= 128");
|
||||
DATE_one = !m_context->TEST.DATM;
|
||||
|
|
Loading…
Reference in New Issue