diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-17 03:28:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-17 03:28:22 +0100 |
commit | cd4e8a989cb01eb9cd10c523d8adbea7ca3cd02c (patch) | |
tree | 51c9d4b007d0e4ddcb0e6833c4908c7a13998680 /src/video_core/engines/fermi_2d.h | |
parent | Merge pull request #239 from Subv/shaders (diff) | |
parent | GPU: Process command mode 5 (IncreaseOnce) differently from other commands. (diff) | |
download | yuzu-cd4e8a989cb01eb9cd10c523d8adbea7ca3cd02c.tar yuzu-cd4e8a989cb01eb9cd10c523d8adbea7ca3cd02c.tar.gz yuzu-cd4e8a989cb01eb9cd10c523d8adbea7ca3cd02c.tar.bz2 yuzu-cd4e8a989cb01eb9cd10c523d8adbea7ca3cd02c.tar.lz yuzu-cd4e8a989cb01eb9cd10c523d8adbea7ca3cd02c.tar.xz yuzu-cd4e8a989cb01eb9cd10c523d8adbea7ca3cd02c.tar.zst yuzu-cd4e8a989cb01eb9cd10c523d8adbea7ca3cd02c.zip |
Diffstat (limited to 'src/video_core/engines/fermi_2d.h')
-rw-r--r-- | src/video_core/engines/fermi_2d.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_core/engines/fermi_2d.h b/src/video_core/engines/fermi_2d.h index 8967ddede..ce8920cee 100644 --- a/src/video_core/engines/fermi_2d.h +++ b/src/video_core/engines/fermi_2d.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 |