mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 00:27:59 -05:00
GPU: Process command mode 5 (IncreaseOnce) differently from other commands.
Accumulate all arguments before calling the desired method. Note: Maybe we should do the same for the NonIncreasing mode?
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user