GPU: Macros are specific to the Maxwell3D engine, so handle them internally.

This commit is contained in:
Subv 2018-03-18 03:13:22 -05:00
parent 29981fa2eb
commit 7ac8657432
8 changed files with 56 additions and 64 deletions

View file

@ -41,9 +41,6 @@ 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;