summaryrefslogtreecommitdiffstats
path: root/src/video_core/rasterizer.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-05-26 00:39:36 +0200
committerbunnei <bunneidev@gmail.com>2015-05-31 07:52:42 +0200
commitdcbc653b90eb4f3e67939a090a7777cb6d17c3cc (patch)
treecf235a0a2e03b0f344711f187f2731d2c5b2a123 /src/video_core/rasterizer.cpp
parentPica: Implement LogicOp function. (diff)
downloadyuzu-dcbc653b90eb4f3e67939a090a7777cb6d17c3cc.tar
yuzu-dcbc653b90eb4f3e67939a090a7777cb6d17c3cc.tar.gz
yuzu-dcbc653b90eb4f3e67939a090a7777cb6d17c3cc.tar.bz2
yuzu-dcbc653b90eb4f3e67939a090a7777cb6d17c3cc.tar.lz
yuzu-dcbc653b90eb4f3e67939a090a7777cb6d17c3cc.tar.xz
yuzu-dcbc653b90eb4f3e67939a090a7777cb6d17c3cc.tar.zst
yuzu-dcbc653b90eb4f3e67939a090a7777cb6d17c3cc.zip
Diffstat (limited to 'src/video_core/rasterizer.cpp')
-rw-r--r--src/video_core/rasterizer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp
index 2613e398f..e0f8d9e6f 100644
--- a/src/video_core/rasterizer.cpp
+++ b/src/video_core/rasterizer.cpp
@@ -815,10 +815,9 @@ static void ProcessTriangleInternal(const VertexShader::OutputVertex& v0,
}
};
- using BlendEquation = Regs::BlendEquation;
static auto EvaluateBlendEquation = [](const Math::Vec4<u8>& src, const Math::Vec4<u8>& srcfactor,
const Math::Vec4<u8>& dest, const Math::Vec4<u8>& destfactor,
- BlendEquation equation) {
+ Regs::BlendEquation equation) {
Math::Vec4<int> result;
auto src_result = (src * srcfactor).Cast<int>();