summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_blitter.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2021-06-10 05:49:05 -0400
committerMarge Bot <eric+marge@anholt.net>2021-06-10 16:58:14 +0000
commite39b6951ccb623e2530e95551bcad25657fb42bc (patch)
treef84c362aa01ede4544d9cdb855abdb6153e83006 /src/gallium/auxiliary/util/u_blitter.c
parentf535ab59e2611a3480534001d0161e04454262d7 (diff)
util/blitter: remove duplicated set_sample_mask calls
it doesn't make sense to have both, so just keep the simpler one no functional changes because this was redundant Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11294>
Diffstat (limited to 'src/gallium/auxiliary/util/u_blitter.c')
-rw-r--r--src/gallium/auxiliary/util/u_blitter.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c
index 265b6e3f9b3..bb76c63acca 100644
--- a/src/gallium/auxiliary/util/u_blitter.c
+++ b/src/gallium/auxiliary/util/u_blitter.c
@@ -2705,7 +2705,6 @@ void util_blitter_custom_color(struct blitter_context *blitter,
: ctx->blend[PIPE_MASK_RGBA][0]);
pipe->bind_depth_stencil_alpha_state(pipe, ctx->dsa_keep_depth_stencil);
bind_fs_write_one_cbuf(ctx);
- pipe->set_sample_mask(pipe, (1ull << MAX2(1, dstsurf->texture->nr_samples)) - 1);
/* set a framebuffer state */
fb_state.width = dstsurf->width;
@@ -2768,7 +2767,6 @@ void util_blitter_custom_shader(struct blitter_context *blitter,
pipe->bind_blend_state(pipe, ctx->blend[PIPE_MASK_RGBA][0]);
pipe->bind_depth_stencil_alpha_state(pipe, ctx->dsa_keep_depth_stencil);
pipe->bind_fs_state(pipe, custom_fs);
- pipe->set_sample_mask(pipe, (1ull << MAX2(1, dstsurf->texture->nr_samples)) - 1);
/* set a framebuffer state */
fb_state.width = dstsurf->width;