From d7746d1f999ba1507f4d2fd8fade77ee3cbb5425 Mon Sep 17 00:00:00 2001 From: Giovanni Bajo Date: Tue, 21 May 2024 23:08:02 +0200 Subject: [PATCH] Fix noise when used in second cycle --- parallel-rdp/rdp_renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parallel-rdp/rdp_renderer.cpp b/parallel-rdp/rdp_renderer.cpp index 076f6f30..0dae9085 100644 --- a/parallel-rdp/rdp_renderer.cpp +++ b/parallel-rdp/rdp_renderer.cpp @@ -1148,7 +1148,7 @@ void Renderer::deduce_noise_state() if (state.combiner[0].rgb.muladd == RGBMulAdd::Noise) state.flags |= RASTERIZATION_NEED_NOISE_BIT; } - else if (state.combiner[1].rgb.muladd == RGBMulAdd::Noise) + if (state.combiner[1].rgb.muladd == RGBMulAdd::Noise) state.flags |= RASTERIZATION_NEED_NOISE_BIT; if ((state.flags & (RASTERIZATION_ALPHA_TEST_BIT | RASTERIZATION_ALPHA_TEST_DITHER_BIT)) ==