diff options
author | bunnei <bunneidev@gmail.com> | 2020-04-27 06:18:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 06:18:46 +0200 |
commit | 6c7d8073be9ab0ce92d346742989800895beeffe (patch) | |
tree | 298da9383d7f883102643f0ab146dda72d9f5358 /src/video_core/gpu.h | |
parent | Merge pull request #3795 from vitor-k/fix-folder (diff) | |
parent | Clang Format. (diff) | |
download | yuzu-6c7d8073be9ab0ce92d346742989800895beeffe.tar yuzu-6c7d8073be9ab0ce92d346742989800895beeffe.tar.gz yuzu-6c7d8073be9ab0ce92d346742989800895beeffe.tar.bz2 yuzu-6c7d8073be9ab0ce92d346742989800895beeffe.tar.lz yuzu-6c7d8073be9ab0ce92d346742989800895beeffe.tar.xz yuzu-6c7d8073be9ab0ce92d346742989800895beeffe.tar.zst yuzu-6c7d8073be9ab0ce92d346742989800895beeffe.zip |
Diffstat (limited to 'src/video_core/gpu.h')
-rw-r--r-- | src/video_core/gpu.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h index 5e3eb94e9..dd51c95b7 100644 --- a/src/video_core/gpu.h +++ b/src/video_core/gpu.h @@ -155,6 +155,10 @@ 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 +313,12 @@ 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; |