From 510c88f9d14bf21d98429b05cd69396dff08e058 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 15 May 2018 21:51:07 -0400 Subject: radeonsi: remove redundant ps_iter_samples clamp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit si_get_ps_iter_samples already does this. Tested-by: Dieter Nützel Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_state.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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)); -- cgit v1.2.3