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>
This commit is contained in:
committed by
Marge Bot
parent
f535ab59e2
commit
e39b6951cc
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user