summaryrefslogtreecommitdiffstats
path: root/src/video_core/gpu.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-03-17 02:32:44 +0100
committerSubv <subv2112@gmail.com>2018-03-17 02:32:44 +0100
commit29feece4b849bd40cc6dcef6c60f4bc58707557a (patch)
treea9e78b0689325e2f3b330785c767e5b3ff2f738e /src/video_core/gpu.h
parentMerge pull request #236 from bunnei/refactor-process-creation (diff)
downloadyuzu-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 '')
-rw-r--r--src/video_core/gpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/gpu.h b/src/video_core/gpu.h
index ba7781756..c5ec6fdef 100644
--- a/src/video_core/gpu.h
+++ b/src/video_core/gpu.h
@@ -41,6 +41,9 @@ private:
/// Writes a single register in the engine bound to the specified subchannel
void WriteReg(u32 method, u32 subchannel, u32 value);
+ /// Calls a method in the engine bound to the specified subchannel with the input parameters.
+ void CallMethod(u32 method, u32 subchannel, const std::vector<u32>& parameters);
+
/// Mapping of command subchannels to their bound engine ids.
std::unordered_map<u32, EngineID> bound_engines;