diff options
| author | 2018-02-12 12:34:41 -0500 | |
|---|---|---|
| committer | 2018-02-12 12:34:41 -0500 | |
| commit | ac61a7d1e6575bde260ba482ba3594e70fcac358 (patch) | |
| tree | 727dab341ab8875675481e308a61816264350dbd /src/video_core/gpu.h | |
| parent | Make a GPU class in VideoCore to contain the GPU state. (diff) | |
| download | yuzu-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.h | 2 |
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 { | |||
| 26 | public: | 26 | public: |
| 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 | } |