summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Null/VertexManager.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/VideoBackends/Null/VertexManager.cpp
parentf46f779f70d70d6cdd3de63286ca0da69be9aa00 (diff)
parent41b0c74e3056ec0d0b354896684debb2d82320f3 (diff)
Merge pull request #4577 from degasus/videocommon
OGL/Vulkan: Drop destination alpha pass.
Diffstat (limited to 'Source/Core/VideoBackends/Null/VertexManager.cpp')
-rw-r--r--Source/Core/VideoBackends/Null/VertexManager.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/Source/Core/VideoBackends/Null/VertexManager.cpp b/Source/Core/VideoBackends/Null/VertexManager.cpp
index 2596243f93..86f4c14d48 100644
--- a/Source/Core/VideoBackends/Null/VertexManager.cpp
+++ b/Source/Core/VideoBackends/Null/VertexManager.cpp
@@ -40,14 +40,11 @@ void VertexManager::ResetBuffer(u32 stride)
IndexGenerator::Start(&m_local_i_buffer[0]);
}
-void VertexManager::vFlush(bool use_dst_alpha)
+void VertexManager::vFlush()
{
- VertexShaderCache::s_instance->SetShader(
- use_dst_alpha ? DSTALPHA_DUAL_SOURCE_BLEND : DSTALPHA_NONE, m_current_primitive_type);
- GeometryShaderCache::s_instance->SetShader(
- use_dst_alpha ? DSTALPHA_DUAL_SOURCE_BLEND : DSTALPHA_NONE, m_current_primitive_type);
- PixelShaderCache::s_instance->SetShader(
- use_dst_alpha ? DSTALPHA_DUAL_SOURCE_BLEND : DSTALPHA_NONE, m_current_primitive_type);
+ VertexShaderCache::s_instance->SetShader(m_current_primitive_type);
+ GeometryShaderCache::s_instance->SetShader(m_current_primitive_type);
+ PixelShaderCache::s_instance->SetShader(m_current_primitive_type);
}
} // namespace