diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-20 08:16:56 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-23 14:52:55 +0200 |
commit | 3fedcc2f6e001f0ed1fd791de4f9692570359eef (patch) | |
tree | 49109516beab33d825cc653d4e885107304da332 /src/video_core/gpu.h | |
parent | Merge pull request #3730 from lioncash/time (diff) | |
download | yuzu-3fedcc2f6e001f0ed1fd791de4f9692570359eef.tar yuzu-3fedcc2f6e001f0ed1fd791de4f9692570359eef.tar.gz yuzu-3fedcc2f6e001f0ed1fd791de4f9692570359eef.tar.bz2 yuzu-3fedcc2f6e001f0ed1fd791de4f9692570359eef.tar.lz yuzu-3fedcc2f6e001f0ed1fd791de4f9692570359eef.tar.xz yuzu-3fedcc2f6e001f0ed1fd791de4f9692570359eef.tar.zst yuzu-3fedcc2f6e001f0ed1fd791de4f9692570359eef.zip |
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r-- | src/video_core/gpu.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index 5e3eb94e9..4d7e2651c 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h @@ -155,6 +155,9 @@ public: /// Calls a GPU method. void CallMethod(const MethodCall& method_call); + /// Calls a GPU multivalue method. + void CallMultiMethod(u32 method, u32 subchannel, const u32* base_start, u32 amount, u32 methods_pending); + /// Flush all current written commands into the host GPU for execution. void FlushCommands(); /// Synchronizes CPU writes with Host GPU memory. @@ -309,8 +312,11 @@ private: /// Calls a GPU engine method. void CallEngineMethod(const MethodCall& method_call); + /// Calls a GPU engine multivalue method. + void CallEngineMultiMethod(u32 method, u32 subchannel, const u32* base_start, u32 amount, u32 methods_pending); + /// Determines where the method should be executed. - bool ExecuteMethodOnEngine(const MethodCall& method_call); + bool ExecuteMethodOnEngine(u32 method); protected: std::unique_ptr<Tegra::DmaPusher> dma_pusher; |