From: Marek Olšák Date: Wed, 16 May 2018 01:51:07 +0000 (-0400) Subject: radeonsi: remove redundant ps_iter_samples clamp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=510c88f9d14bf21d98429b05cd69396dff08e058;p=mesa.git radeonsi: remove redundant ps_iter_samples clamp si_get_ps_iter_samples already does this. Tested-by: Dieter Nützel Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 675b1adbe65..5bbf134b706 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -3412,7 +3412,6 @@ static void si_emit_msaa_config(struct si_context *sctx) }; unsigned log_samples = util_logbase2(coverage_samples); unsigned ps_iter_samples = si_get_ps_iter_samples(sctx); - ps_iter_samples = MIN2(ps_iter_samples, color_samples); unsigned log_ps_iter_samples = util_logbase2(util_next_power_of_two(ps_iter_samples));