summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-05-07 16:55:18 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-06-21 02:36:11 +0200
commit6b0695b3cdd930b0157df8fd8f3c9d2dce328595 (patch)
treedca0a5da667579e5836d019b75e84c87567e80da /src/video_core/gpu.cpp
parenttexture_cache: Remove execution context copies from the texture cache (diff)
downloadyuzu-6b0695b3cdd930b0157df8fd8f3c9d2dce328595.tar
yuzu-6b0695b3cdd930b0157df8fd8f3c9d2dce328595.tar.gz
yuzu-6b0695b3cdd930b0157df8fd8f3c9d2dce328595.tar.bz2
yuzu-6b0695b3cdd930b0157df8fd8f3c9d2dce328595.tar.lz
yuzu-6b0695b3cdd930b0157df8fd8f3c9d2dce328595.tar.xz
yuzu-6b0695b3cdd930b0157df8fd8f3c9d2dce328595.tar.zst
yuzu-6b0695b3cdd930b0157df8fd8f3c9d2dce328595.zip
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r--src/video_core/gpu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index 52706505b..619e06a0e 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -32,6 +32,7 @@ u32 FramebufferConfig::BytesPerPixel(PixelFormat format) {
GPU::GPU(Core::System& system, VideoCore::RendererBase& renderer) : renderer{renderer} {
auto& rasterizer{renderer.Rasterizer()};
memory_manager = std::make_unique<Tegra::MemoryManager>(rasterizer);
+ rasterizer.InitMemoryMananger(*memory_manager);
dma_pusher = std::make_unique<Tegra::DmaPusher>(*this);
maxwell_3d = std::make_unique<Engines::Maxwell3D>(system, rasterizer, *memory_manager);
fermi_2d = std::make_unique<Engines::Fermi2D>(rasterizer, *memory_manager);