diff options
author | Subv <subv2112@gmail.com> | 2018-06-10 17:02:33 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-06-12 11:27:36 -0500 |
commit | 987a17066514dbab8e02acae20d4ea32c4f502eb (patch) | |
tree | 81b613108c9a3147bac98de15336dae217fa1be1 /src/video_core/gpu.cpp | |
parent | 281fd881a00ec7e17ee2e2e0711f30bf69efa965 (diff) |
GPU: Partially implemented the Maxwell DMA engine.
Only tiled->linear and linear->tiled copies that aren't offsetted are supported for now. Queries are not supported. Swizzled copies are not supported.
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r-- | src/video_core/gpu.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp index 66351fe6e4..e364831454 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp @@ -5,6 +5,7 @@ #include "video_core/engines/fermi_2d.h" #include "video_core/engines/maxwell_3d.h" #include "video_core/engines/maxwell_compute.h" +#include "video_core/engines/maxwell_dma.h" #include "video_core/gpu.h" namespace Tegra { @@ -14,6 +15,7 @@ GPU::GPU() { maxwell_3d = std::make_unique<Engines::Maxwell3D>(*memory_manager); fermi_2d = std::make_unique<Engines::Fermi2D>(*memory_manager); maxwell_compute = std::make_unique<Engines::MaxwellCompute>(); + maxwell_dma = std::make_unique<Engines::MaxwellDMA>(*memory_manager); } GPU::~GPU() = default; |