diff options
author | Marek Olšák <[email protected]> | 2018-05-15 21:51:07 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-05-24 13:41:56 -0400 |
commit | 510c88f9d14bf21d98429b05cd69396dff08e058 (patch) | |
tree | c6fa647cb94d38e0d53d76541dc0faeb51962ea2 /src/gallium | |
parent | 25cdf754e4c119bdcf8e644cb5eb943bbf0f8ca8 (diff) |
radeonsi: remove redundant ps_iter_samples clamp
si_get_ps_iter_samples already does this.
Tested-by: Dieter Nützel <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.c | 1 |
1 files changed, 0 insertions, 1 deletions
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)); |