summaryrefslogtreecommitdiff
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorGravatar Subv2018-02-12 12:34:41 -0500
committerGravatar Subv2018-02-12 12:34:41 -0500
commitac61a7d1e6575bde260ba482ba3594e70fcac358 (patch)
tree727dab341ab8875675481e308a61816264350dbd /src/video_core/gpu.h
parentMake a GPU class in VideoCore to contain the GPU state. (diff)
downloadyuzu-ac61a7d1e6575bde260ba482ba3594e70fcac358.tar.gz
yuzu-ac61a7d1e6575bde260ba482ba3594e70fcac358.tar.xz
yuzu-ac61a7d1e6575bde260ba482ba3594e70fcac358.zip
GPU: Partially implemented the QUERY_* registers in the Maxwell3D engine.
Only QueryMode::Write is supported at the moment.
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r--src/video_core/gpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index a961f3fd4..ba7781756 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -26,7 +26,7 @@ class GPU final {
26public: 26public:
27 GPU() { 27 GPU() {
28 memory_manager = std::make_unique<MemoryManager>(); 28 memory_manager = std::make_unique<MemoryManager>();
29 maxwell_3d = std::make_unique<Engines::Maxwell3D>(); 29 maxwell_3d = std::make_unique<Engines::Maxwell3D>(*memory_manager);
30 fermi_2d = std::make_unique<Engines::Fermi2D>(); 30 fermi_2d = std::make_unique<Engines::Fermi2D>();
31 maxwell_compute = std::make_unique<Engines::MaxwellCompute>(); 31 maxwell_compute = std::make_unique<Engines::MaxwellCompute>();
32 } 32 }