[Mesa-dev] [PATCH] radeonsi: remove useless check in si_set_min_samples()
Samuel Pitoiset
samuel.pitoiset at gmail.com
Wed Jun 14 22:13:00 UTC 2017
CSO already takes care of this.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
src/gallium/drivers/radeonsi/si_state.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
index 1cd1f9190e0..facbc87e310 100644
--- a/src/gallium/drivers/radeonsi/si_state.c
+++ b/src/gallium/drivers/radeonsi/si_state.c
@@ -2978,9 +2978,6 @@ static void si_set_min_samples(struct pipe_context *ctx, unsigned min_samples)
{
struct si_context *sctx = (struct si_context *)ctx;
- if (sctx->ps_iter_samples == min_samples)
- return;
-
sctx->ps_iter_samples = min_samples;
sctx->do_update_shaders = true;
--
2.13.1
More information about the mesa-dev
mailing list