summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-02-16 04:05:17 +0100
committerLioncash <mathew1800@gmail.com>2019-02-16 04:06:23 +0100
commita8fa5019b51c9ce765124121daac863cfc1365aa (patch)
treee23b97873c1e6b4fcb34066fccb393d2a1147bb8 /src/video_core/engines/maxwell_3d.h
parentMerge pull request #2123 from lioncash/coretiming-global (diff)
downloadyuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.tar
yuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.tar.gz
yuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.tar.bz2
yuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.tar.lz
yuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.tar.xz
yuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.tar.zst
yuzu-a8fa5019b51c9ce765124121daac863cfc1365aa.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r--src/video_core/engines/maxwell_3d.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 1f76aa670..0e3873ffd 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -17,6 +17,10 @@
#include "video_core/memory_manager.h"
#include "video_core/textures/texture.h"
+namespace Core {
+class System;
+}
+
namespace VideoCore {
class RasterizerInterface;
}
@@ -28,7 +32,8 @@ namespace Tegra::Engines {
class Maxwell3D final {
public:
- explicit Maxwell3D(VideoCore::RasterizerInterface& rasterizer, MemoryManager& memory_manager);
+ explicit Maxwell3D(Core::System& system, VideoCore::RasterizerInterface& rasterizer,
+ MemoryManager& memory_manager);
~Maxwell3D() = default;
/// Register structure of the Maxwell3D engine.
@@ -1131,6 +1136,8 @@ public:
private:
void InitializeRegisterDefaults();
+ Core::System& system;
+
VideoCore::RasterizerInterface& rasterizer;
/// Start offsets of each macro in macro_memory