mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
radeonsi: rename si_compute_copy_image -> si_compute_copy_image_old
It will be replaced in several stages. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28917>
This commit is contained in:
parent
8b030ac588
commit
b7389615c6
3 changed files with 4 additions and 4 deletions
|
|
@ -968,7 +968,7 @@ void si_resource_copy_region(struct pipe_context *ctx, struct pipe_resource *dst
|
|||
return;
|
||||
}
|
||||
|
||||
if (si_compute_copy_image(sctx, dst, dst_level, src, src_level, dstx, dsty, dstz,
|
||||
if (si_compute_copy_image_old(sctx, dst, dst_level, src, src_level, dstx, dsty, dstz,
|
||||
src_box, SI_OP_SYNC_BEFORE_AFTER))
|
||||
return;
|
||||
|
||||
|
|
@ -1213,7 +1213,7 @@ 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((struct si_context*)sctx->screen->async_compute_context,
|
||||
si_compute_copy_image_old((struct si_context*)sctx->screen->async_compute_context,
|
||||
info->dst.resource, 0, info->src.resource, 0, 0, 0, 0,
|
||||
&info->src.box, 0);
|
||||
si_flush_gfx_cs((struct si_context*)sctx->screen->async_compute_context, 0, NULL);
|
||||
|
|
|
|||
|
|
@ -553,7 +553,7 @@ static void si_launch_grid_internal_images(struct si_context *sctx,
|
|||
pipe_resource_reference(&saved_image[i].resource, NULL);
|
||||
}
|
||||
|
||||
bool si_compute_copy_image(struct si_context *sctx, struct pipe_resource *dst, unsigned dst_level,
|
||||
bool si_compute_copy_image_old(struct si_context *sctx, struct pipe_resource *dst, unsigned dst_level,
|
||||
struct pipe_resource *src, unsigned src_level, unsigned dstx,
|
||||
unsigned dsty, unsigned dstz, const struct pipe_box *src_box,
|
||||
unsigned flags)
|
||||
|
|
|
|||
|
|
@ -1502,7 +1502,7 @@ void si_copy_buffer(struct si_context *sctx, struct pipe_resource *dst, struct p
|
|||
uint64_t dst_offset, uint64_t src_offset, unsigned size, unsigned flags);
|
||||
void si_compute_shorten_ubyte_buffer(struct si_context *sctx, struct pipe_resource *dst, struct pipe_resource *src,
|
||||
uint64_t dst_offset, uint64_t src_offset, unsigned size, unsigned flags);
|
||||
bool si_compute_copy_image(struct si_context *sctx, struct pipe_resource *dst, unsigned dst_level,
|
||||
bool si_compute_copy_image_old(struct si_context *sctx, struct pipe_resource *dst, unsigned dst_level,
|
||||
struct pipe_resource *src, unsigned src_level, unsigned dstx,
|
||||
unsigned dsty, unsigned dstz, const struct pipe_box *src_box,
|
||||
unsigned flags);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue