diff options
author | Subv <subv2112@gmail.com> | 2018-03-17 02:32:44 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-03-17 02:32:44 +0100 |
commit | 29feece4b849bd40cc6dcef6c60f4bc58707557a (patch) | |
tree | a9e78b0689325e2f3b330785c767e5b3ff2f738e /src/video_core/engines/maxwell_compute.h | |
parent | Merge pull request #236 from bunnei/refactor-process-creation (diff) | |
download | yuzu-29feece4b849bd40cc6dcef6c60f4bc58707557a.tar yuzu-29feece4b849bd40cc6dcef6c60f4bc58707557a.tar.gz yuzu-29feece4b849bd40cc6dcef6c60f4bc58707557a.tar.bz2 yuzu-29feece4b849bd40cc6dcef6c60f4bc58707557a.tar.lz yuzu-29feece4b849bd40cc6dcef6c60f4bc58707557a.tar.xz yuzu-29feece4b849bd40cc6dcef6c60f4bc58707557a.tar.zst yuzu-29feece4b849bd40cc6dcef6c60f4bc58707557a.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_compute.h')
-rw-r--r-- | src/video_core/engines/maxwell_compute.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_compute.h b/src/video_core/engines/maxwell_compute.h index 7262e1bcb..5fc7ed635 100644 --- a/src/video_core/engines/maxwell_compute.h +++ b/src/video_core/engines/maxwell_compute.h @@ -4,6 +4,7 @@ #pragma once +#include <vector> #include "common/common_types.h" namespace Tegra { @@ -16,6 +17,13 @@ public: /// Write the value to the register identified by method. void WriteReg(u32 method, u32 value); + + /** + * Handles a method call to this engine. + * @param method Method to call + * @param parameters Arguments to the method call + */ + void CallMethod(u32 method, const std::vector<u32>& parameters); }; } // namespace Engines |