diff options
| author | bunnei <bunneidev@gmail.com> | 2019-09-10 11:55:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-10 11:55:45 -0400 |
| commit | c7ec7bc1f5183f580bf34f9e2dfb59c986551f36 (patch) | |
| tree | a141f778eb57f4583acd24cdcd8027bf2f7099ac /src/video_core/engines/maxwell_3d.h | |
| parent | 434d0922dcf886c6bb3ac50b96a8c6091c5c6c11 (diff) | |
| parent | 701dedcfad3001c1aecb2d714da1e22cc407a5ea (diff) | |
Merge pull request #2810 from ReinUsesLisp/mme-opt
maxwell_3d: Avoid moving macro_params
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index 3b3c82f41..f67a5389f 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -1308,9 +1308,10 @@ private: /** * Call a macro on this engine. * @param method Method to call + * @param num_parameters Number of arguments * @param parameters Arguments to the method call */ - void CallMacroMethod(u32 method, std::vector<u32> parameters); + void CallMacroMethod(u32 method, std::size_t num_parameters, const u32* parameters); /// Handles writes to the macro uploading register. void ProcessMacroUpload(u32 data); |
