diff options
author | Nanley Chery <[email protected]> | 2017-05-11 09:37:33 -0700 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2017-06-26 11:09:12 -0700 |
commit | d6748f1fc4e5d8e5ebc3b2bf04a0c69eb9dedf2b (patch) | |
tree | f6e01b9dff0abbca3d15b8c8318a6ef5790c2701 /src/intel/vulkan/genX_cmd_buffer.c | |
parent | 1415e7a997fe525b4275c46a0e176faa38a8d297 (diff) |
anv/gpu_memcpy: Rename the gpu_memcpy function
A GPU memcpy function could alternatively be implemented using MI_*
commands. Provide more detail into how this one operates in case another
memcpy function is created.
v2:
- Update the commit message.
v3:
- Use 'memcpy' instead of 'cpy' (Jason Ekstrand)
- Shorten 'streamout' to 'so'
Suggested-by: Jason Ekstrand <[email protected]>
Signed-off-by: Nanley Chery <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]> (v2)
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/genX_cmd_buffer.c')
-rw-r--r-- | src/intel/vulkan/genX_cmd_buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c index 6a3e525eb3b..53c58ca5b35 100644 --- a/src/intel/vulkan/genX_cmd_buffer.c +++ b/src/intel/vulkan/genX_cmd_buffer.c @@ -710,9 +710,9 @@ genX(CmdExecuteCommands)( struct anv_state dst_state = secondary->state.render_pass_states; assert(src_state.alloc_size == dst_state.alloc_size); - genX(cmd_buffer_gpu_memcpy)(primary, ss_bo, dst_state.offset, - ss_bo, src_state.offset, - src_state.alloc_size); + genX(cmd_buffer_so_memcpy)(primary, ss_bo, dst_state.offset, + ss_bo, src_state.offset, + src_state.alloc_size); } anv_cmd_buffer_add_secondary(primary, secondary); |