diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2020-06-04 17:42:19 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2020-06-24 04:09:01 +0200 |
commit | 6ce5f3120be6a65a798d3abc6fda0fe6171d0296 (patch) | |
tree | c63966fe5761248a4f48f4ccb4567b6213773fa4 /src/video_core/engines | |
parent | Merge pull request #4138 from Morph1984/GyroscopeZeroDriftMode (diff) | |
download | yuzu-6ce5f3120be6a65a798d3abc6fda0fe6171d0296.tar yuzu-6ce5f3120be6a65a798d3abc6fda0fe6171d0296.tar.gz yuzu-6ce5f3120be6a65a798d3abc6fda0fe6171d0296.tar.bz2 yuzu-6ce5f3120be6a65a798d3abc6fda0fe6171d0296.tar.lz yuzu-6ce5f3120be6a65a798d3abc6fda0fe6171d0296.tar.xz yuzu-6ce5f3120be6a65a798d3abc6fda0fe6171d0296.tar.zst yuzu-6ce5f3120be6a65a798d3abc6fda0fe6171d0296.zip |
Diffstat (limited to 'src/video_core/engines')
-rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 2 | ||||
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index ea3c8a963..c01436295 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -128,7 +128,7 @@ void Maxwell3D::CallMacroMethod(u32 method, const std::vector<u32>& parameters) ((method - MacroRegistersStart) >> 1) % static_cast<u32>(macro_positions.size()); // Execute the current macro. - macro_engine->Execute(macro_positions[entry], parameters); + macro_engine->Execute(*this, macro_positions[entry], parameters); if (mme_draw.current_mode != MMEDrawMode::Undefined) { FlushMMEInlineDraw(); } diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index d5fe25065..5926c4d2d 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -1418,6 +1418,10 @@ public: return execute_on; } + VideoCore::RasterizerInterface& GetRasterizer() { + return rasterizer; + } + /// Notify a memory write has happened. void OnMemoryWrite() { dirty.flags |= dirty.on_write_stores; |