diff options
| author | 2018-06-10 17:02:33 -0500 | |
|---|---|---|
| committer | 2018-06-12 11:27:36 -0500 | |
| commit | 987a17066514dbab8e02acae20d4ea32c4f502eb (patch) | |
| tree | 81b613108c9a3147bac98de15336dae217fa1be1 /src/video_core/gpu.cpp | |
| parent | Merge pull request #553 from Subv/iset (diff) | |
| download | yuzu-987a17066514dbab8e02acae20d4ea32c4f502eb.tar.gz yuzu-987a17066514dbab8e02acae20d4ea32c4f502eb.tar.xz yuzu-987a17066514dbab8e02acae20d4ea32c4f502eb.zip | |
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 66351fe6e..e36483145 100644 --- a/src/video_core/gpu.cpp +++ b/src/video_core/gpu.cpp | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | #include "video_core/engines/fermi_2d.h" | 5 | #include "video_core/engines/fermi_2d.h" |
| 6 | #include "video_core/engines/maxwell_3d.h" | 6 | #include "video_core/engines/maxwell_3d.h" |
| 7 | #include "video_core/engines/maxwell_compute.h" | 7 | #include "video_core/engines/maxwell_compute.h" |
| 8 | #include "video_core/engines/maxwell_dma.h" | ||
| 8 | #include "video_core/gpu.h" | 9 | #include "video_core/gpu.h" |
| 9 | 10 | ||
| 10 | namespace Tegra { | 11 | namespace Tegra { |
| @@ -14,6 +15,7 @@ GPU::GPU() { | |||
| 14 | maxwell_3d = std::make_unique<Engines::Maxwell3D>(*memory_manager); | 15 | maxwell_3d = std::make_unique<Engines::Maxwell3D>(*memory_manager); |
| 15 | fermi_2d = std::make_unique<Engines::Fermi2D>(*memory_manager); | 16 | fermi_2d = std::make_unique<Engines::Fermi2D>(*memory_manager); |
| 16 | maxwell_compute = std::make_unique<Engines::MaxwellCompute>(); | 17 | maxwell_compute = std::make_unique<Engines::MaxwellCompute>(); |
| 18 | maxwell_dma = std::make_unique<Engines::MaxwellDMA>(*memory_manager); | ||
| 17 | } | 19 | } |
| 18 | 20 | ||
| 19 | GPU::~GPU() = default; | 21 | GPU::~GPU() = default; |