summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorGravatar Subv2018-09-08 15:58:20 -0500
committerGravatar Subv2018-09-12 13:57:08 -0500
commitbb5eb4f20ac74e06317ed5b0c98282cde1f9e119 (patch)
treee1b89238165f33c65ff7909eabd846be5f58785c /src/video_core/gpu.cpp
parentMerge pull request #1303 from lioncash/error (diff)
downloadyuzu-bb5eb4f20ac74e06317ed5b0c98282cde1f9e119.tar.gz
yuzu-bb5eb4f20ac74e06317ed5b0c98282cde1f9e119.tar.xz
yuzu-bb5eb4f20ac74e06317ed5b0c98282cde1f9e119.zip
GPU: Basic implementation of the Kepler Inline Memory engine (p2mf).
This engine writes data from a FIFO register into the configured address.
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r--src/video_core/gpu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index 86a809f86..baa8b63b7 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -4,6 +4,7 @@
4 4
5#include "common/assert.h" 5#include "common/assert.h"
6#include "video_core/engines/fermi_2d.h" 6#include "video_core/engines/fermi_2d.h"
7#include "video_core/engines/kepler_memory.h"
7#include "video_core/engines/maxwell_3d.h" 8#include "video_core/engines/maxwell_3d.h"
8#include "video_core/engines/maxwell_compute.h" 9#include "video_core/engines/maxwell_compute.h"
9#include "video_core/engines/maxwell_dma.h" 10#include "video_core/engines/maxwell_dma.h"
@@ -27,6 +28,7 @@ GPU::GPU(VideoCore::RasterizerInterface& rasterizer) {
27 fermi_2d = std::make_unique<Engines::Fermi2D>(*memory_manager); 28 fermi_2d = std::make_unique<Engines::Fermi2D>(*memory_manager);
28 maxwell_compute = std::make_unique<Engines::MaxwellCompute>(); 29 maxwell_compute = std::make_unique<Engines::MaxwellCompute>();
29 maxwell_dma = std::make_unique<Engines::MaxwellDMA>(*memory_manager); 30 maxwell_dma = std::make_unique<Engines::MaxwellDMA>(*memory_manager);
31 kepler_memory = std::make_unique<Engines::KeplerMemory>(*memory_manager);
30} 32}
31 33
32GPU::~GPU() = default; 34GPU::~GPU() = default;