GPU: Move the Maxwell3D macro uploading code to the inside of the Maxwell3D processor.

It doesn't belong in the PFIFO handler.
This commit is contained in:
Subv 2018-04-23 20:01:29 -05:00
parent e2f2a49d2d
commit a994446b6e
4 changed files with 23 additions and 40 deletions

View file

@ -86,8 +86,6 @@ public:
}
private:
static constexpr u32 InvalidGraphMacroEntry = 0xFFFFFFFF;
/// Writes a single register in the engine bound to the specified subchannel
void WriteReg(u32 method, u32 subchannel, u32 value, u32 remaining_params);
@ -100,11 +98,6 @@ private:
std::unique_ptr<Engines::Fermi2D> fermi_2d;
/// Compute engine
std::unique_ptr<Engines::MaxwellCompute> maxwell_compute;
/// Entry of the macro that is currently being uploaded
u32 current_macro_entry = InvalidGraphMacroEntry;
/// Code being uploaded for the current macro
std::vector<u32> current_macro_code;
};
} // namespace Tegra