diff options
author | wwylele <wwylele@gmail.com> | 2017-08-18 14:04:56 +0200 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2017-08-22 08:34:44 +0200 |
commit | 3e478ca13110639a67ad95880aae5d7d13e096b7 (patch) | |
tree | 6d6c4bbada2738e20ff7ba3d895443214fecffca /src/video_core/swrasterizer/rasterizer.cpp | |
parent | Merge pull request #2872 from wwylele/sw-geo-factor (diff) | |
download | yuzu-3e478ca13110639a67ad95880aae5d7d13e096b7.tar yuzu-3e478ca13110639a67ad95880aae5d7d13e096b7.tar.gz yuzu-3e478ca13110639a67ad95880aae5d7d13e096b7.tar.bz2 yuzu-3e478ca13110639a67ad95880aae5d7d13e096b7.tar.lz yuzu-3e478ca13110639a67ad95880aae5d7d13e096b7.tar.xz yuzu-3e478ca13110639a67ad95880aae5d7d13e096b7.tar.zst yuzu-3e478ca13110639a67ad95880aae5d7d13e096b7.zip |
Diffstat (limited to 'src/video_core/swrasterizer/rasterizer.cpp')
-rw-r--r-- | src/video_core/swrasterizer/rasterizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/swrasterizer/rasterizer.cpp b/src/video_core/swrasterizer/rasterizer.cpp index fdc1df199..862135614 100644 --- a/src/video_core/swrasterizer/rasterizer.cpp +++ b/src/video_core/swrasterizer/rasterizer.cpp @@ -437,8 +437,8 @@ static void ProcessTriangleInternal(const Vertex& v0, const Vertex& v1, const Ve GetInterpolatedAttribute(v0.view.y, v1.view.y, v2.view.y).ToFloat32(), GetInterpolatedAttribute(v0.view.z, v1.view.z, v2.view.z).ToFloat32(), }; - std::tie(primary_fragment_color, secondary_fragment_color) = - ComputeFragmentsColors(g_state.regs.lighting, g_state.lighting, normquat, view); + std::tie(primary_fragment_color, secondary_fragment_color) = ComputeFragmentsColors( + g_state.regs.lighting, g_state.lighting, normquat, view, texture_color); } for (unsigned tev_stage_index = 0; tev_stage_index < tev_stages.size(); |