summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-04-28 03:47:58 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-28 03:47:58 +0200
commit90e5694230c0b5a946f7cec6f8083476016a42be (patch)
tree2c34a1b6e99d790cf794a9db6f3ac9b1dca60a8a /src/video_core/gpu.cpp
parentMerge pull request #3785 from ogniK5377/set-buffer-count-unit (diff)
downloadyuzu-90e5694230c0b5a946f7cec6f8083476016a42be.tar
yuzu-90e5694230c0b5a946f7cec6f8083476016a42be.tar.gz
yuzu-90e5694230c0b5a946f7cec6f8083476016a42be.tar.bz2
yuzu-90e5694230c0b5a946f7cec6f8083476016a42be.tar.lz
yuzu-90e5694230c0b5a946f7cec6f8083476016a42be.tar.xz
yuzu-90e5694230c0b5a946f7cec6f8083476016a42be.tar.zst
yuzu-90e5694230c0b5a946f7cec6f8083476016a42be.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/gpu.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index b87fd873d..4868437c1 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -299,19 +299,19 @@ void GPU::CallEngineMethod(const MethodCall& method_call) {
switch (engine) {
case EngineID::FERMI_TWOD_A:
- fermi_2d->CallMethod(method_call);
+ fermi_2d->CallMethod(method_call.method, method_call.argument, method_call.IsLastCall());
break;
case EngineID::MAXWELL_B:
- maxwell_3d->CallMethod(method_call);
+ maxwell_3d->CallMethod(method_call.method, method_call.argument, method_call.IsLastCall());
break;
case EngineID::KEPLER_COMPUTE_B:
- kepler_compute->CallMethod(method_call);
+ kepler_compute->CallMethod(method_call.method, method_call.argument, method_call.IsLastCall());
break;
case EngineID::MAXWELL_DMA_COPY_A:
- maxwell_dma->CallMethod(method_call);
+ maxwell_dma->CallMethod(method_call.method, method_call.argument, method_call.IsLastCall());
break;
case EngineID::KEPLER_INLINE_TO_MEMORY_B:
- kepler_memory->CallMethod(method_call);
+ kepler_memory->CallMethod(method_call.method, method_call.argument, method_call.IsLastCall());
break;
default:
UNIMPLEMENTED_MSG("Unimplemented engine");