diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-20 02:16:56 -0400 |
|---|---|---|
| committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-23 08:52:55 -0400 |
| commit | 3fedcc2f6e001f0ed1fd791de4f9692570359eef (patch) | |
| tree | 49109516beab33d825cc653d4e885107304da332 /src/video_core/engines/kepler_memory.cpp | |
| parent | eb26e9e7117bf7a10ef6ca39d52bf6f00bd91859 (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.cpp | 6 |
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 597872e43..e906a1124 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 |
