diff options
author | Lioncash <mathew1800@gmail.com> | 2022-01-25 19:41:35 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-01-25 19:41:38 +0100 |
commit | a05d9405b9192b0e9402eba2305d1a35aac44a74 (patch) | |
tree | b73e55e664d2fa5d8e924f26fe3a03850b70eadc /src/video_core/macro | |
parent | video_core/macro_jit_x64: Remove unused impl class member (diff) | |
download | yuzu-a05d9405b9192b0e9402eba2305d1a35aac44a74.tar yuzu-a05d9405b9192b0e9402eba2305d1a35aac44a74.tar.gz yuzu-a05d9405b9192b0e9402eba2305d1a35aac44a74.tar.bz2 yuzu-a05d9405b9192b0e9402eba2305d1a35aac44a74.tar.lz yuzu-a05d9405b9192b0e9402eba2305d1a35aac44a74.tar.xz yuzu-a05d9405b9192b0e9402eba2305d1a35aac44a74.tar.zst yuzu-a05d9405b9192b0e9402eba2305d1a35aac44a74.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/macro/macro.cpp | 3 | ||||
-rw-r--r-- | src/video_core/macro/macro.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/video_core/macro/macro.cpp b/src/video_core/macro/macro.cpp index d7fabe605..0870a7687 100644 --- a/src/video_core/macro/macro.cpp +++ b/src/video_core/macro/macro.cpp @@ -24,8 +24,7 @@ void MacroEngine::AddCode(u32 method, u32 data) { uploaded_macro_code[method].push_back(data); } -void MacroEngine::Execute(Engines::Maxwell3D& maxwell3d, u32 method, - const std::vector<u32>& parameters) { +void MacroEngine::Execute(u32 method, const std::vector<u32>& parameters) { auto compiled_macro = macro_cache.find(method); if (compiled_macro != macro_cache.end()) { const auto& cache_info = compiled_macro->second; diff --git a/src/video_core/macro/macro.h b/src/video_core/macro/macro.h index 31ee3440a..7aaa49286 100644 --- a/src/video_core/macro/macro.h +++ b/src/video_core/macro/macro.h @@ -119,7 +119,7 @@ public: void AddCode(u32 method, u32 data); // Compiles the macro if its not in the cache, and executes the compiled macro - void Execute(Engines::Maxwell3D& maxwell3d, u32 method, const std::vector<u32>& parameters); + void Execute(u32 method, const std::vector<u32>& parameters); protected: virtual std::unique_ptr<CachedMacro> Compile(const std::vector<u32>& code) = 0; |