diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-06-10 14:19:27 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-07-05 21:49:20 +0200 |
commit | 0706d633bf7764455082cfdfdc35c14507cb6897 (patch) | |
tree | 00f07387d43df3cf85d786af7d9a35233bf2c9d5 /src/video_core/gpu.cpp | |
parent | Async GPU: do invalidate as synced operation (diff) | |
download | yuzu-0706d633bf7764455082cfdfdc35c14507cb6897.tar yuzu-0706d633bf7764455082cfdfdc35c14507cb6897.tar.gz yuzu-0706d633bf7764455082cfdfdc35c14507cb6897.tar.bz2 yuzu-0706d633bf7764455082cfdfdc35c14507cb6897.tar.lz yuzu-0706d633bf7764455082cfdfdc35c14507cb6897.tar.xz yuzu-0706d633bf7764455082cfdfdc35c14507cb6897.tar.zst yuzu-0706d633bf7764455082cfdfdc35c14507cb6897.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/gpu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index c71f0f9bf..086db0e69 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -29,8 +29,8 @@ u32 FramebufferConfig::BytesPerPixel(PixelFormat format) { UNREACHABLE(); } -GPU::GPU(Core::System& system, VideoCore::RendererBase& renderer) - : system{system}, renderer{renderer} { +GPU::GPU(Core::System& system, VideoCore::RendererBase& renderer, bool is_async) + : system{system}, renderer{renderer}, is_async{is_async} { auto& rasterizer{renderer.Rasterizer()}; memory_manager = std::make_unique<Tegra::MemoryManager>(rasterizer); dma_pusher = std::make_unique<Tegra::DmaPusher>(*this); |