summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-02-13 01:24:34 +0100
committerGitHub <noreply@github.com>2019-02-13 01:24:34 +0100
commitc440ecfafe5204b22ec00d2ba8e0cd39464c6a1a (patch)
treeb15696c7f74bfaaa38c493b33dacc3e4d8ca96eb /src/video_core/gpu.cpp
parentMerge pull request #2108 from FernandoS27/fix-cc (diff)
parentkepler_compute: Fixup assert and rename engines (diff)
downloadyuzu-c440ecfafe5204b22ec00d2ba8e0cd39464c6a1a.tar
yuzu-c440ecfafe5204b22ec00d2ba8e0cd39464c6a1a.tar.gz
yuzu-c440ecfafe5204b22ec00d2ba8e0cd39464c6a1a.tar.bz2
yuzu-c440ecfafe5204b22ec00d2ba8e0cd39464c6a1a.tar.lz
yuzu-c440ecfafe5204b22ec00d2ba8e0cd39464c6a1a.tar.xz
yuzu-c440ecfafe5204b22ec00d2ba8e0cd39464c6a1a.tar.zst
yuzu-c440ecfafe5204b22ec00d2ba8e0cd39464c6a1a.zip
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r--src/video_core/gpu.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index d3d32a359..96c42b8a0 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -6,9 +6,9 @@
#include "core/core_timing.h"
#include "core/memory.h"
#include "video_core/engines/fermi_2d.h"
+#include "video_core/engines/kepler_compute.h"
#include "video_core/engines/kepler_memory.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"
#include "video_core/rasterizer_interface.h"
@@ -31,7 +31,7 @@ GPU::GPU(VideoCore::RasterizerInterface& rasterizer) {
dma_pusher = std::make_unique<Tegra::DmaPusher>(*this);
maxwell_3d = std::make_unique<Engines::Maxwell3D>(rasterizer, *memory_manager);
fermi_2d = std::make_unique<Engines::Fermi2D>(rasterizer, *memory_manager);
- maxwell_compute = std::make_unique<Engines::MaxwellCompute>();
+ kepler_compute = std::make_unique<Engines::KeplerCompute>(*memory_manager);
maxwell_dma = std::make_unique<Engines::MaxwellDMA>(rasterizer, *memory_manager);
kepler_memory = std::make_unique<Engines::KeplerMemory>(rasterizer, *memory_manager);
}
@@ -245,8 +245,8 @@ void GPU::CallEngineMethod(const MethodCall& method_call) {
case EngineID::MAXWELL_B:
maxwell_3d->CallMethod(method_call);
break;
- case EngineID::MAXWELL_COMPUTE_B:
- maxwell_compute->CallMethod(method_call);
+ case EngineID::KEPLER_COMPUTE_B:
+ kepler_compute->CallMethod(method_call);
break;
case EngineID::MAXWELL_DMA_COPY_A:
maxwell_dma->CallMethod(method_call);