GS-hw: Remove Accurate DATE option, no longer needed.

This commit is contained in:
lightningterror 2022-09-07 11:24:43 +02:00 committed by refractionpcsx2
parent 65b0511d9e
commit 3d647fe55a
1 changed files with 14 additions and 15 deletions

View File

@ -3460,23 +3460,22 @@ void GSRendererHW::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sourc
m_conf.require_full_barrier = true; m_conf.require_full_barrier = true;
DATE_BARRIER = true; DATE_BARRIER = true;
} }
else if (GSConfig.AccurateDATE) else if (features.primitive_id)
{ {
// Note: Fast level (DATE_one) was removed as it's less accurate.
GL_PERF("DATE: Accurate with alpha %d-%d", GetAlphaMinMax().min, GetAlphaMinMax().max); GL_PERF("DATE: Accurate with alpha %d-%d", GetAlphaMinMax().min, GetAlphaMinMax().max);
if (features.primitive_id) DATE_PRIMID = true;
{ }
DATE_PRIMID = true; else if (features.texture_barrier)
} {
else if (features.texture_barrier) GL_PERF("DATE: Accurate with alpha %d-%d", GetAlphaMinMax().min, GetAlphaMinMax().max);
{ m_conf.require_full_barrier = true;
m_conf.require_full_barrier = true; DATE_BARRIER = true;
DATE_BARRIER = true; }
} else if (features.stencil_buffer)
else if (features.stencil_buffer) {
{ // Might be inaccurate in some cases but we shouldn't hit this path.
DATE_one = true; GL_PERF("DATE: Fast with alpha %d-%d", GetAlphaMinMax().min, GetAlphaMinMax().max);
} DATE_one = true;
} }
} }
else if (!m_conf.colormask.wa && !m_context->TEST.ATE) else if (!m_conf.colormask.wa && !m_context->TEST.ATE)