aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines/maxwell_compute.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-02-11 23:44:12 -0500
committerSubv <subv2112@gmail.com>2018-02-11 23:44:12 -0500
commit6cddf9d88e7fc49919fda92bcd4235797c56f07f (patch)
tree3f7da3795b5561b2d325325b72610996e2857742 /src/video_core/engines/maxwell_compute.h
parente01a8f218707b6f3ed0f111c432440b07ea5b6ff (diff)
Make a GPU class in VideoCore to contain the GPU state.
Also moved the GPU MemoryManager class to video_core since it makes more sense for it to be there.
Diffstat (limited to 'src/video_core/engines/maxwell_compute.h')
-rw-r--r--src/video_core/engines/maxwell_compute.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/video_core/engines/maxwell_compute.h b/src/video_core/engines/maxwell_compute.h
index dc9a13593..7262e1bcb 100644
--- a/src/video_core/engines/maxwell_compute.h
+++ b/src/video_core/engines/maxwell_compute.h
@@ -8,11 +8,15 @@
namespace Tegra {
namespace Engines {
-namespace MaxwellCompute {
-void WriteReg(u32 method, u32 value);
+class MaxwellCompute final {
+public:
+ MaxwellCompute() = default;
+ ~MaxwellCompute() = default;
-} // namespace MaxwellCompute
+ /// Write the value to the register identified by method.
+ void WriteReg(u32 method, u32 value);
+};
} // namespace Engines
} // namespace Tegra