aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines/kepler_memory.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-04-20 02:16:56 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-04-23 08:52:55 -0400
commitef3a0ae64a9e5c7a7a27cc123439b220f626cb29 (patch)
tree49109516beab33d825cc653d4e885107304da332 /src/video_core/engines/kepler_memory.cpp
parent7b07b977358b3cd9db09975e67b54dfa72f86d79 (diff)
DMAPusher: Propagate multimethod writes into the engines.
Diffstat (limited to 'src/video_core/engines/kepler_memory.cpp')
-rw-r--r--src/video_core/engines/kepler_memory.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/engines/kepler_memory.cpp b/src/video_core/engines/kepler_memory.cpp
index 597872e439..e906a11240 100644
--- a/src/video_core/engines/kepler_memory.cpp
+++ b/src/video_core/engines/kepler_memory.cpp
@@ -41,4 +41,10 @@ void KeplerMemory::CallMethod(const GPU::MethodCall& method_call) {
}
}
+void KeplerMemory::CallMultiMethod(u32 method, const u32* base_start, u32 amount, u32 methods_pending) {
+ for (std::size_t i = 0; i < amount; i++) {
+ CallMethod({method, base_start[i], 0, methods_pending - static_cast<u32>(i)});
+ }
+}
+
} // namespace Tegra::Engines