diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-03-13 16:33:47 -0400 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2020-03-14 09:43:57 -0400 |
commit | 27cbb75e7c2818c073bd65a000d7ff7f28d391d4 (patch) | |
tree | 1f8ff16d5202fde0e15f8a8f7c5d50045efb9341 /src/video_core | |
parent | b30b1f741dcbcb69672d065b0bec4f4a9e5f0993 (diff) |
PageTable: move backing addresses to a children class as the CPU page table does not need them.
This PR aims to reduce the memory usage in the CPU page table by moving
GPU specific parameters into a child class. This saves 1Gb of Memory for
most games.
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/memory_manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h index aea010087..073bdb491 100644 --- a/src/video_core/memory_manager.h +++ b/src/video_core/memory_manager.h @@ -174,7 +174,7 @@ private: /// End of address space, based on address space in bits. static constexpr GPUVAddr address_space_end{1ULL << address_space_width}; - Common::PageTable page_table{page_bits}; + Common::BackingPageTable page_table{page_bits}; VMAMap vma_map; VideoCore::RasterizerInterface& rasterizer; |