diff options
| author | Markus Wick <markus@selfnet.de> | 2018-09-06 14:51:24 +0200 |
|---|---|---|
| committer | Markus Wick <markus@selfnet.de> | 2018-09-10 22:03:10 +0200 |
| commit | c5600435817ff751d2a5550ded54a033ccf0c15b (patch) | |
| tree | 922fab62ab36727876f9acf22d3aace750478c1a /src/video_core/engines/maxwell_3d.cpp | |
| parent | ac959799e43e5f6866cdc0a6f1acb48b134d2bd0 (diff) | |
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/maxwell_3d.cpp')
| -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) { break; } - rasterizer.NotifyMaxwellRegisterChanged(method); - if (debug_context) { debug_context->OnEvent(Tegra::DebugContext::Event::MaxwellCommandProcessed, nullptr); } |
