diff options
author | bunnei <[email protected]> | 2018-04-24 00:19:36 -0400 |
---|---|---|
committer | bunnei <[email protected]> | 2018-04-24 22:31:45 -0400 |
commit | 4415e00181f71b35eea779157976773d9bccf638 (patch) | |
tree | 604e0f8de1fe238ac74eee4fd3d5eabdb59e7bc1 /src/video_core/rasterizer_interface.h | |
parent | 10c6d891190e407cf4fbcf6eb8ce2506ddf388ec (diff) | |
download | yuzu-mainline-4415e00181f71b35eea779157976773d9bccf638.tar.gz yuzu-mainline-4415e00181f71b35eea779157976773d9bccf638.zip |
gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses.
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
-rw-r--r-- | src/video_core/rasterizer_interface.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h index 36629dd11..f0e48a802 100644 --- a/src/video_core/rasterizer_interface.h +++ b/src/video_core/rasterizer_interface.h @@ -6,6 +6,7 @@ #include "common/common_types.h" #include "video_core/gpu.h" +#include "video_core/memory_manager.h" struct ScreenInfo; @@ -25,14 +26,14 @@ public: virtual void FlushAll() = 0; /// Notify rasterizer that any caches of the specified region should be flushed to Switch memory - virtual void FlushRegion(VAddr addr, u64 size) = 0; + virtual void FlushRegion(Tegra::GPUVAddr addr, u64 size) = 0; /// Notify rasterizer that any caches of the specified region should be invalidated - virtual void InvalidateRegion(VAddr addr, u64 size) = 0; + virtual void InvalidateRegion(Tegra::GPUVAddr addr, u64 size) = 0; /// Notify rasterizer that any caches of the specified region should be flushed to Switch memory /// and invalidated - virtual void FlushAndInvalidateRegion(VAddr addr, u64 size) = 0; + virtual void FlushAndInvalidateRegion(Tegra::GPUVAddr addr, u64 size) = 0; /// Attempt to use a faster method to perform a display transfer with is_texture_copy = 0 virtual bool AccelerateDisplayTransfer(const void* config) { |