diff --git a/src/gallium/drivers/radeonsi/si_blit.c b/src/gallium/drivers/radeonsi/si_blit.c index f01d5c1a198..e57cedd6e14 100644 --- a/src/gallium/drivers/radeonsi/si_blit.c +++ b/src/gallium/drivers/radeonsi/si_blit.c @@ -968,8 +968,7 @@ void si_resource_copy_region(struct pipe_context *ctx, struct pipe_resource *dst return; } - if (si_compute_copy_image_old(sctx, dst, dst_level, src, src_level, dstx, dsty, dstz, - src_box, SI_OP_SYNC_BEFORE_AFTER)) + if (si_compute_copy_image(sctx, dst, dst_level, src, src_level, dstx, dsty, dstz, src_box, true)) return; si_gfx_copy_image(sctx, dst, dst_level, dstx, dsty, dstz, src, src_level, src_box); @@ -1213,9 +1212,9 @@ static void si_blit(struct pipe_context *ctx, const struct pipe_blit_info *info) si_init_aux_async_compute_ctx(sscreen); if (sscreen->async_compute_context) { - si_compute_copy_image_old((struct si_context*)sctx->screen->async_compute_context, + si_compute_copy_image((struct si_context*)sctx->screen->async_compute_context, info->dst.resource, 0, info->src.resource, 0, 0, 0, 0, - &info->src.box, 0); + &info->src.box, false); si_flush_gfx_cs((struct si_context*)sctx->screen->async_compute_context, 0, NULL); simple_mtx_unlock(&sscreen->async_compute_context_lock); return;