aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines/maxwell_compute.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-11-23 23:20:56 -0500
committerbunnei <bunneidev@gmail.com>2018-11-26 23:14:01 -0500
commitabea6fa90c901d0b47487ed38d44511b18f0addf (patch)
tree65ba9fc6ff7609ea569ea1e3d05f91caa56ffa14 /src/video_core/engines/maxwell_compute.h
parent852a462df3b8629791ae982dfe6c54fb6a5fcc5e (diff)
gpu: Rewrite GPU command list processing with DmaPusher class.
- More accurate impl., fixes Undertale (among other games).
Diffstat (limited to 'src/video_core/engines/maxwell_compute.h')
-rw-r--r--src/video_core/engines/maxwell_compute.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_compute.h b/src/video_core/engines/maxwell_compute.h
index 6ea934fb9..1d71f11bd 100644
--- a/src/video_core/engines/maxwell_compute.h
+++ b/src/video_core/engines/maxwell_compute.h
@@ -9,6 +9,7 @@
#include "common/bit_field.h"
#include "common/common_funcs.h"
#include "common/common_types.h"
+#include "video_core/gpu.h"
namespace Tegra::Engines {
@@ -42,7 +43,7 @@ public:
"MaxwellCompute Regs has wrong size");
/// Write the value to the register identified by method.
- void WriteReg(u32 method, u32 value);
+ void CallMethod(const GPU::MethodCall& method_call);
};
#define ASSERT_REG_POSITION(field_name, position) \