diff options
| author | 2015-05-25 18:39:36 -0400 | |
|---|---|---|
| committer | 2015-05-31 01:52:42 -0400 | |
| commit | dcbc653b90eb4f3e67939a090a7777cb6d17c3cc (patch) | |
| tree | cf235a0a2e03b0f344711f187f2731d2c5b2a123 /src/video_core/rasterizer.cpp | |
| parent | Pica: Implement LogicOp function. (diff) | |
| download | yuzu-dcbc653b90eb4f3e67939a090a7777cb6d17c3cc.tar.gz yuzu-dcbc653b90eb4f3e67939a090a7777cb6d17c3cc.tar.xz yuzu-dcbc653b90eb4f3e67939a090a7777cb6d17c3cc.zip | |
rasterizer: Remove unnecessary 'using' for BlendEquation.
Diffstat (limited to 'src/video_core/rasterizer.cpp')
| -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>(); |