diff options
| author | 2018-03-16 22:28:22 -0400 | |
|---|---|---|
| committer | 2018-03-16 22:28:22 -0400 | |
| commit | cd4e8a989cb01eb9cd10c523d8adbea7ca3cd02c (patch) | |
| tree | 51c9d4b007d0e4ddcb0e6833c4908c7a13998680 /src/video_core/gpu.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.gz yuzu-cd4e8a989cb01eb9cd10c523d8adbea7ca3cd02c.tar.xz yuzu-cd4e8a989cb01eb9cd10c523d8adbea7ca3cd02c.zip | |
Merge pull request #241 from Subv/gpu_method_call
GPU: Process command mode 5 (IncreaseOnce) differently from other commands
Diffstat (limited to 'src/video_core/gpu.h')
| -rw-r--r-- | src/video_core/gpu.h | 3 |
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: | |||
| 41 | /// Writes a single register in the engine bound to the specified subchannel | 41 | /// Writes a single register in the engine bound to the specified subchannel |
| 42 | void WriteReg(u32 method, u32 subchannel, u32 value); | 42 | void WriteReg(u32 method, u32 subchannel, u32 value); |
| 43 | 43 | ||
| 44 | /// Calls a method in the engine bound to the specified subchannel with the input parameters. | ||
| 45 | void CallMethod(u32 method, u32 subchannel, const std::vector<u32>& parameters); | ||
| 46 | |||
| 44 | /// Mapping of command subchannels to their bound engine ids. | 47 | /// Mapping of command subchannels to their bound engine ids. |
| 45 | std::unordered_map<u32, EngineID> bound_engines; | 48 | std::unordered_map<u32, EngineID> bound_engines; |
| 46 | 49 | ||