diff options
author | Marek Olšák <[email protected]> | 2019-02-12 15:03:13 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-04-23 11:36:33 -0400 |
commit | c59d238bb04a1cbbc01b31fabdb7d93306788110 (patch) | |
tree | b0f0985fa68de895f2c007a599fbbd95b5b5603c /src/gallium/drivers/radeonsi/si_pipe.h | |
parent | 694e320643f7fc6a4f1a9cf3e4ac274c37cccdfb (diff) |
radeonsi: add si_cp_copy_data
Tested-by: Dieter Nützel <[email protected]>
Acked-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index aaa95f32d20..e45ef62ecfe 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -1239,6 +1239,9 @@ void si_test_gds(struct si_context *sctx); void si_cp_write_data(struct si_context *sctx, struct si_resource *buf, unsigned offset, unsigned size, unsigned dst_sel, unsigned engine, const void *data); +void si_cp_copy_data(struct si_context *sctx, + unsigned dst_sel, struct si_resource *dst, unsigned dst_offset, + unsigned src_sel, struct si_resource *src, unsigned src_offset); /* si_debug.c */ void si_save_cs(struct radeon_winsys *ws, struct radeon_cmdbuf *cs, |