summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexManagerBase.cpp
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2017-01-04 20:05:26 +0100
committerGitHub <noreply@github.com>2017-01-04 20:05:26 +0100
commit389f8297c3bb1829cf7c62f5461457f4d4c501bc (patch)
treefb2b3f0b624a4dc275100633e6a251fa1944e5e6 /Source/Core/VideoCommon/VertexManagerBase.cpp
parentf46f779f70d70d6cdd3de63286ca0da69be9aa00 (diff)
parent41b0c74e3056ec0d0b354896684debb2d82320f3 (diff)
Merge pull request #4577 from degasus/videocommon
OGL/Vulkan: Drop destination alpha pass.
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexManagerBase.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp
index 4ff4c2c528..f0299f2495 100644
--- a/Source/Core/VideoCommon/VertexManagerBase.cpp
+++ b/Source/Core/VideoCommon/VertexManagerBase.cpp
@@ -253,12 +253,9 @@ void VertexManagerBase::Flush()
GeometryShaderManager::SetConstants();
PixelShaderManager::SetConstants();
- bool useDstAlpha = bpmem.dstalpha.enable && bpmem.blendmode.alphaupdate &&
- bpmem.zcontrol.pixel_format == PEControl::RGBA6_Z24;
-
if (PerfQueryBase::ShouldEmulate())
g_perf_query->EnableQuery(bpmem.zcontrol.early_ztest ? PQG_ZCOMP_ZCOMPLOC : PQG_ZCOMP);
- g_vertex_manager->vFlush(useDstAlpha);
+ g_vertex_manager->vFlush();
if (PerfQueryBase::ShouldEmulate())
g_perf_query->DisableQuery(bpmem.zcontrol.early_ztest ? PQG_ZCOMP_ZCOMPLOC : PQG_ZCOMP);
}