radeonsi/gfx11: resolve MSAA using u_blitter
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16328>
This commit is contained in:
@@ -1204,9 +1204,10 @@ static void si_blit(struct pipe_context *ctx, const struct pipe_blit_info *info)
|
||||
struct si_context *sctx = (struct si_context *)ctx;
|
||||
struct si_texture *sdst = (struct si_texture *)info->dst.resource;
|
||||
|
||||
if (do_hardware_msaa_resolve(ctx, info)) {
|
||||
/* Gfx11 doesn't have CB_RESOLVE. */
|
||||
/* TODO: Use compute-based resolving instead. */
|
||||
if (sctx->chip_class < GFX11 && do_hardware_msaa_resolve(ctx, info))
|
||||
return;
|
||||
}
|
||||
|
||||
if ((info->dst.resource->bind & PIPE_BIND_PRIME_BLIT_DST) && sdst->surface.is_linear &&
|
||||
sctx->chip_class >= GFX7) {
|
||||
|
||||
Reference in New Issue
Block a user