diff options
| author | degasus <wickmarkus@web.de> | 2016-12-28 01:37:41 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2017-01-04 20:02:31 +0100 |
| commit | 41b0c74e3056ec0d0b354896684debb2d82320f3 (patch) | |
| tree | fb2b3f0b624a4dc275100633e6a251fa1944e5e6 /Source/Core/VideoCommon/VertexManagerBase.cpp | |
| parent | b7d8bd13a6c44eecf5c5e59ea60796e3018785f9 (diff) | |
VideoCommon: Make dst_alpha state implicit.
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexManagerBase.cpp | 5 |
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); } |
