diff options
Diffstat (limited to 'src/video_core/rasterizer.cpp')
| -rw-r--r-- | src/video_core/rasterizer.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp index f74721d4b..46a326bb4 100644 --- a/src/video_core/rasterizer.cpp +++ b/src/video_core/rasterizer.cpp | |||
| @@ -597,7 +597,10 @@ static void ProcessTriangleInternal(const VertexShader::OutputVertex& v0, | |||
| 597 | }; | 597 | }; |
| 598 | auto alpha_output = AlphaCombine(tev_stage.alpha_op, alpha_result); | 598 | auto alpha_output = AlphaCombine(tev_stage.alpha_op, alpha_result); |
| 599 | 599 | ||
| 600 | combiner_output = Math::MakeVec(color_output, alpha_output); | 600 | combiner_output[0] = std::min((unsigned)255, color_output.r() * tev_stage.GetColorMultiplier()); |
| 601 | combiner_output[1] = std::min((unsigned)255, color_output.g() * tev_stage.GetColorMultiplier()); | ||
| 602 | combiner_output[2] = std::min((unsigned)255, color_output.b() * tev_stage.GetColorMultiplier()); | ||
| 603 | combiner_output[3] = std::min((unsigned)255, alpha_output * tev_stage.GetAlphaMultiplier()); | ||
| 601 | 604 | ||
| 602 | if (registers.tev_combiner_buffer_input.TevStageUpdatesCombinerBufferColor(tev_stage_index)) { | 605 | if (registers.tev_combiner_buffer_input.TevStageUpdatesCombinerBufferColor(tev_stage_index)) { |
| 603 | combiner_buffer.r() = combiner_output.r(); | 606 | combiner_buffer.r() = combiner_output.r(); |