diff options
| author | 2021-07-06 17:26:21 -0700 | |
|---|---|---|
| committer | 2021-07-06 17:26:21 -0700 | |
| commit | eb3cb3af353dd1d62b11a6032e35656153ecb505 (patch) | |
| tree | 239f6d2857bd4af68ed77b91639c1d7fce5934cb /src/video_core/rasterizer_interface.h | |
| parent | Merge pull request #6566 from Morph1984/sign-compare-as-error (diff) | |
| parent | Texture Cache: Fix collision with multiple overlaps of the same sparse texture. (diff) | |
| download | yuzu-eb3cb3af353dd1d62b11a6032e35656153ecb505.tar.gz yuzu-eb3cb3af353dd1d62b11a6032e35656153ecb505.tar.xz yuzu-eb3cb3af353dd1d62b11a6032e35656153ecb505.zip | |
Merge pull request #6497 from FernandoS27/scotty-doesnt-know
GPU Memory Manager - Correct handling of non continuous backing memory.
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
| -rw-r--r-- | src/video_core/rasterizer_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h index 07939432f..0cec4225b 100644 --- a/src/video_core/rasterizer_interface.h +++ b/src/video_core/rasterizer_interface.h | |||
| @@ -87,6 +87,9 @@ public: | |||
| 87 | /// Unmap memory range | 87 | /// Unmap memory range |
| 88 | virtual void UnmapMemory(VAddr addr, u64 size) = 0; | 88 | virtual void UnmapMemory(VAddr addr, u64 size) = 0; |
| 89 | 89 | ||
| 90 | /// Remap GPU memory range. This means underneath backing memory changed | ||
| 91 | virtual void ModifyGPUMemory(GPUVAddr addr, u64 size) = 0; | ||
| 92 | |||
| 90 | /// Notify rasterizer that any caches of the specified region should be flushed to Switch memory | 93 | /// Notify rasterizer that any caches of the specified region should be flushed to Switch memory |
| 91 | /// and invalidated | 94 | /// and invalidated |
| 92 | virtual void FlushAndInvalidateRegion(VAddr addr, u64 size) = 0; | 95 | virtual void FlushAndInvalidateRegion(VAddr addr, u64 size) = 0; |