From 3d647fe55a5a12bf9637826ca0bb591ce9378f06 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Wed, 7 Sep 2022 11:24:43 +0200 Subject: [PATCH] GS-hw: Remove Accurate DATE option, no longer needed. --- pcsx2/GS/Renderers/HW/GSRendererHW.cpp | 29 +++++++++++++------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp index aa4166305d..00a46f89ca 100644 --- a/pcsx2/GS/Renderers/HW/GSRendererHW.cpp +++ b/pcsx2/GS/Renderers/HW/GSRendererHW.cpp @@ -3460,23 +3460,22 @@ void GSRendererHW::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sourc m_conf.require_full_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); - if (features.primitive_id) - { - DATE_PRIMID = true; - } - else if (features.texture_barrier) - { - m_conf.require_full_barrier = true; - DATE_BARRIER = true; - } - else if (features.stencil_buffer) - { - DATE_one = true; - } + DATE_PRIMID = true; + } + else if (features.texture_barrier) + { + GL_PERF("DATE: Accurate with alpha %d-%d", GetAlphaMinMax().min, GetAlphaMinMax().max); + m_conf.require_full_barrier = true; + DATE_BARRIER = true; + } + else if (features.stencil_buffer) + { + // Might be inaccurate in some cases but we shouldn't hit this path. + 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)