diff options
author | wwylele <wwylele@gmail.com> | 2017-04-19 22:48:10 +0200 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2017-04-19 22:48:10 +0200 |
commit | b624a9520546410445c1320fac163759c9be6750 (patch) | |
tree | 232f7c3b141fbfde8e9972e94081a958ee3c0627 /src/video_core/swrasterizer/texturing.cpp | |
parent | Merge pull request #2659 from MerryMage/dsp_dsp-correction (diff) | |
download | yuzu-b624a9520546410445c1320fac163759c9be6750.tar yuzu-b624a9520546410445c1320fac163759c9be6750.tar.gz yuzu-b624a9520546410445c1320fac163759c9be6750.tar.bz2 yuzu-b624a9520546410445c1320fac163759c9be6750.tar.lz yuzu-b624a9520546410445c1320fac163759c9be6750.tar.xz yuzu-b624a9520546410445c1320fac163759c9be6750.tar.zst yuzu-b624a9520546410445c1320fac163759c9be6750.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/swrasterizer/texturing.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/swrasterizer/texturing.cpp b/src/video_core/swrasterizer/texturing.cpp index eb18e4ba4..aeb6aeb8c 100644 --- a/src/video_core/swrasterizer/texturing.cpp +++ b/src/video_core/swrasterizer/texturing.cpp @@ -169,7 +169,8 @@ Math::Vec3<u8> ColorCombine(TevStageConfig::Operation op, const Math::Vec3<u8> i result = (result * input[2].Cast<int>()) / 255; return result.Cast<u8>(); } - case Operation::Dot3_RGB: { + case Operation::Dot3_RGB: + case Operation::Dot3_RGBA: { // Not fully accurate. Worst case scenario seems to yield a +/-3 error. Some HW results // indicate that the per-component computation can't have a higher precision than 1/256, // while dot3_rgb((0x80,g0,b0), (0x7F,g1,b1)) and dot3_rgb((0x80,g0,b0), (0x80,g1,b1)) give |