diff options
| author | 2018-09-06 14:51:24 +0200 | |
|---|---|---|
| committer | 2018-09-10 22:03:10 +0200 | |
| commit | c5600435817ff751d2a5550ded54a033ccf0c15b (patch) | |
| tree | 922fab62ab36727876f9acf22d3aace750478c1a /src/video_core/engines | |
| parent | Merge pull request #1281 from bunnei/multi-rt (diff) | |
| download | yuzu-c5600435817ff751d2a5550ded54a033ccf0c15b.tar.gz yuzu-c5600435817ff751d2a5550ded54a033ccf0c15b.tar.xz yuzu-c5600435817ff751d2a5550ded54a033ccf0c15b.zip | |
rasterizer: Drop unused handler.
This virtual function is called in a very hot spot, and it does nothing.
If this kind of feature is required, please be more specific and add callbacks
in the switch statement within Maxwell3D::WriteReg. There is no point in having
another switch statement within the rasterizer.
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index 1308080b5..329079ddd 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp | |||
| @@ -135,8 +135,6 @@ void Maxwell3D::WriteReg(u32 method, u32 value, u32 remaining_params) { | |||
| 135 | break; | 135 | break; |
| 136 | } | 136 | } |
| 137 | 137 | ||
| 138 | rasterizer.NotifyMaxwellRegisterChanged(method); | ||
| 139 | |||
| 140 | if (debug_context) { | 138 | if (debug_context) { |
| 141 | debug_context->OnEvent(Tegra::DebugContext::Event::MaxwellCommandProcessed, nullptr); | 139 | debug_context->OnEvent(Tegra::DebugContext::Event::MaxwellCommandProcessed, nullptr); |
| 142 | } | 140 | } |