diff options
author | Lioncash <mathew1800@gmail.com> | 2020-06-20 04:02:56 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-06-20 04:02:58 +0200 |
commit | 479605b3e5a3b88128455b8357da471c713d0f90 (patch) | |
tree | 7ec429e674d8e0443342da7f66ff08b86d9aab07 /src/video_core/memory_manager.h | |
parent | macro_jit_x64: Eliminate variable shadowing in Compile_ProcessResult() (diff) | |
download | yuzu-479605b3e5a3b88128455b8357da471c713d0f90.tar yuzu-479605b3e5a3b88128455b8357da471c713d0f90.tar.gz yuzu-479605b3e5a3b88128455b8357da471c713d0f90.tar.bz2 yuzu-479605b3e5a3b88128455b8357da471c713d0f90.tar.lz yuzu-479605b3e5a3b88128455b8357da471c713d0f90.tar.xz yuzu-479605b3e5a3b88128455b8357da471c713d0f90.tar.zst yuzu-479605b3e5a3b88128455b8357da471c713d0f90.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/memory_manager.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h index 0ddd52d5a..87658e87a 100644 --- a/src/video_core/memory_manager.h +++ b/src/video_core/memory_manager.h @@ -79,9 +79,9 @@ public: * in the Host Memory counterpart. Note: This functions cause Host GPU Memory * Flushes and Invalidations, respectively to each operation. */ - void ReadBlock(GPUVAddr src_addr, void* dest_buffer, std::size_t size) const; - void WriteBlock(GPUVAddr dest_addr, const void* src_buffer, std::size_t size); - void CopyBlock(GPUVAddr dest_addr, GPUVAddr src_addr, std::size_t size); + void ReadBlock(GPUVAddr gpu_src_addr, void* dest_buffer, std::size_t size) const; + void WriteBlock(GPUVAddr gpu_dest_addr, const void* src_buffer, std::size_t size); + void CopyBlock(GPUVAddr gpu_dest_addr, GPUVAddr gpu_src_addr, std::size_t size); /** * ReadBlockUnsafe and WriteBlockUnsafe are special versions of ReadBlock and @@ -93,9 +93,9 @@ public: * WriteBlockUnsafe instead of WriteBlock since it shouldn't invalidate the texture * being flushed. */ - void ReadBlockUnsafe(GPUVAddr src_addr, void* dest_buffer, std::size_t size) const; - void WriteBlockUnsafe(GPUVAddr dest_addr, const void* src_buffer, std::size_t size); - void CopyBlockUnsafe(GPUVAddr dest_addr, GPUVAddr src_addr, std::size_t size); + void ReadBlockUnsafe(GPUVAddr gpu_src_addr, void* dest_buffer, std::size_t size) const; + void WriteBlockUnsafe(GPUVAddr gpu_dest_addr, const void* src_buffer, std::size_t size); + void CopyBlockUnsafe(GPUVAddr gpu_dest_addr, GPUVAddr gpu_src_addr, std::size_t size); /** * IsGranularRange checks if a gpu region can be simply read with a pointer |