From 0904085eb53d1f1bc55aa0ce194d174d66a2a9d0 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sun, 3 Aug 2014 11:10:53 -0700 Subject: [PATCH] Avoid using fbo copies for the common 2a + 1-2a. We won't even get it right that often since the copy doesn't deal with overlap properly. --- GPU/GLES/FragmentShaderGenerator.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/GPU/GLES/FragmentShaderGenerator.cpp b/GPU/GLES/FragmentShaderGenerator.cpp index 7dc1c61b6f..b69bd2741f 100644 --- a/GPU/GLES/FragmentShaderGenerator.cpp +++ b/GPU/GLES/FragmentShaderGenerator.cpp @@ -274,11 +274,8 @@ ReplaceBlendType ReplaceBlendWithShader() { case GE_DSTBLEND_DOUBLESRCALPHA: case GE_DSTBLEND_DOUBLEINVSRCALPHA: // We can't technically do this correctly (due to clamping) without reading the dst color. - if (g_Config.bDisableSlowFramebufEffects) { - return REPLACE_BLEND_PRE_SRC_2X_ALPHA; - } else { - return REPLACE_BLEND_COPY_FBO; - } + // Using a copy isn't accurate either, though, when there's overlap. + return REPLACE_BLEND_PRE_SRC_2X_ALPHA; default: // TODO: Could use vertexFullAlpha, but it's not calculated yet.