diff options
author | Subv <subv2112@gmail.com> | 2017-08-21 19:18:52 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2017-08-26 18:58:22 +0200 |
commit | da88f3b8f0f9f1162b7ad41f70e2126195eee999 (patch) | |
tree | 59ea676e313891a060acef7683b69d837c4ac8bb /src/video_core/swrasterizer/texturing.cpp | |
parent | Merge pull request #2872 from wwylele/sw-geo-factor (diff) | |
download | yuzu-da88f3b8f0f9f1162b7ad41f70e2126195eee999.tar yuzu-da88f3b8f0f9f1162b7ad41f70e2126195eee999.tar.gz yuzu-da88f3b8f0f9f1162b7ad41f70e2126195eee999.tar.bz2 yuzu-da88f3b8f0f9f1162b7ad41f70e2126195eee999.tar.lz yuzu-da88f3b8f0f9f1162b7ad41f70e2126195eee999.tar.xz yuzu-da88f3b8f0f9f1162b7ad41f70e2126195eee999.tar.zst yuzu-da88f3b8f0f9f1162b7ad41f70e2126195eee999.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/swrasterizer/texturing.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/swrasterizer/texturing.cpp b/src/video_core/swrasterizer/texturing.cpp index 4f02b93f2..79b1ce841 100644 --- a/src/video_core/swrasterizer/texturing.cpp +++ b/src/video_core/swrasterizer/texturing.cpp @@ -89,6 +89,8 @@ Math::Vec3<u8> GetColorModifier(TevStageConfig::ColorModifier factor, case ColorModifier::OneMinusSourceBlue: return (Math::Vec3<u8>(255, 255, 255) - values.bbb()).Cast<u8>(); } + + UNREACHABLE(); }; u8 GetAlphaModifier(TevStageConfig::AlphaModifier factor, const Math::Vec4<u8>& values) { @@ -119,6 +121,8 @@ u8 GetAlphaModifier(TevStageConfig::AlphaModifier factor, const Math::Vec4<u8>& case AlphaModifier::OneMinusSourceBlue: return 255 - values.b(); } + + UNREACHABLE(); }; Math::Vec3<u8> ColorCombine(TevStageConfig::Operation op, const Math::Vec3<u8> input[3]) { |