gallium: add pipe_blit_info::dst_sample, update u_blitter to write that sample

A new radeonsi blit test will use it to upload different sample values
into MSAA textures.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17694>
This commit is contained in:
Marek Olšák
2022-07-19 00:19:34 -04:00
committed by Marge Bot
parent af7c2ff842
commit 3e94d498b3
10 changed files with 24 additions and 16 deletions

View File

@@ -701,7 +701,7 @@ zink_begin_render_pass(struct zink_context *ctx)
util_blitter_blit_generic(ctx->blitter, dst_view, &dstbox,
src_view, &dstbox, ctx->fb_state.width, ctx->fb_state.height,
PIPE_MASK_RGBAZS, PIPE_TEX_FILTER_NEAREST, NULL,
false, false);
false, false, 0);
pipe_sampler_view_reference(&src_view, NULL);
csurf->transient_init = true;