diff options
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/rasterizer.cpp | 3 |
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, | |||
| 815 | } | 815 | } |
| 816 | }; | 816 | }; |
| 817 | 817 | ||
| 818 | using BlendEquation = Regs::BlendEquation; | ||
| 819 | static auto EvaluateBlendEquation = [](const Math::Vec4<u8>& src, const Math::Vec4<u8>& srcfactor, | 818 | static auto EvaluateBlendEquation = [](const Math::Vec4<u8>& src, const Math::Vec4<u8>& srcfactor, |
| 820 | const Math::Vec4<u8>& dest, const Math::Vec4<u8>& destfactor, | 819 | const Math::Vec4<u8>& dest, const Math::Vec4<u8>& destfactor, |
| 821 | BlendEquation equation) { | 820 | Regs::BlendEquation equation) { |
| 822 | Math::Vec4<int> result; | 821 | Math::Vec4<int> result; |
| 823 | 822 | ||
| 824 | auto src_result = (src * srcfactor).Cast<int>(); | 823 | auto src_result = (src * srcfactor).Cast<int>(); |