diff options
| author | 2018-08-27 21:35:15 -0400 | |
|---|---|---|
| committer | 2018-08-31 13:07:27 -0400 | |
| commit | d647d9550c838fdfb16ad053f3ff243de3e15482 (patch) | |
| tree | 8bde428c4c670d134dd13b849044e4369566d8f9 /src/core/memory.h | |
| parent | gl_rasterizer: Fix issues with the rasterizer cache. (diff) | |
| download | yuzu-d647d9550c838fdfb16ad053f3ff243de3e15482.tar.gz yuzu-d647d9550c838fdfb16ad053f3ff243de3e15482.tar.xz yuzu-d647d9550c838fdfb16ad053f3ff243de3e15482.zip | |
gl_renderer: Cache textures, framebuffers, and shaders based on CPU address.
Diffstat (limited to 'src/core/memory.h')
| -rw-r--r-- | src/core/memory.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/memory.h b/src/core/memory.h index b7fb3b9ed..f06e04a75 100644 --- a/src/core/memory.h +++ b/src/core/memory.h | |||
| @@ -11,7 +11,6 @@ | |||
| 11 | #include <boost/icl/interval_map.hpp> | 11 | #include <boost/icl/interval_map.hpp> |
| 12 | #include "common/common_types.h" | 12 | #include "common/common_types.h" |
| 13 | #include "core/memory_hook.h" | 13 | #include "core/memory_hook.h" |
| 14 | #include "video_core/memory_manager.h" | ||
| 15 | 14 | ||
| 16 | namespace Kernel { | 15 | namespace Kernel { |
| 17 | class Process; | 16 | class Process; |
| @@ -179,7 +178,7 @@ enum class FlushMode { | |||
| 179 | /** | 178 | /** |
| 180 | * Mark each page touching the region as cached. | 179 | * Mark each page touching the region as cached. |
| 181 | */ | 180 | */ |
| 182 | void RasterizerMarkRegionCached(Tegra::GPUVAddr gpu_addr, u64 size, bool cached); | 181 | void RasterizerMarkRegionCached(VAddr vaddr, u64 size, bool cached); |
| 183 | 182 | ||
| 184 | /** | 183 | /** |
| 185 | * Flushes and invalidates any externally cached rasterizer resources touching the given virtual | 184 | * Flushes and invalidates any externally cached rasterizer resources touching the given virtual |