diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-18 01:06:04 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-01-26 03:53:25 +0100 |
commit | 0f642741451e3f75c2f1d64ae9beccaf1437f12c (patch) | |
tree | f964da57def5be6b8d5bc41176db97668bd01125 /src/video_core/shader/shader_jit_x64.h | |
parent | Shader: Remove OutputRegisters struct (diff) | |
download | yuzu-0f642741451e3f75c2f1d64ae9beccaf1437f12c.tar yuzu-0f642741451e3f75c2f1d64ae9beccaf1437f12c.tar.gz yuzu-0f642741451e3f75c2f1d64ae9beccaf1437f12c.tar.bz2 yuzu-0f642741451e3f75c2f1d64ae9beccaf1437f12c.tar.lz yuzu-0f642741451e3f75c2f1d64ae9beccaf1437f12c.tar.xz yuzu-0f642741451e3f75c2f1d64ae9beccaf1437f12c.tar.zst yuzu-0f642741451e3f75c2f1d64ae9beccaf1437f12c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/shader_jit_x64.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/video_core/shader/shader_jit_x64.h b/src/video_core/shader/shader_jit_x64.h index b26044477..bd30f51e2 100644 --- a/src/video_core/shader/shader_jit_x64.h +++ b/src/video_core/shader/shader_jit_x64.h @@ -19,14 +19,11 @@ public: JitX64Engine(); ~JitX64Engine() override; - void SetupBatch(const ShaderSetup* setup) override; - void Run(UnitState& state, unsigned int entry_point) const override; + void SetupBatch(ShaderSetup& setup) override; + void Run(const ShaderSetup& setup, UnitState& state, unsigned int entry_point) const override; private: - const ShaderSetup* setup = nullptr; - std::unordered_map<u64, std::unique_ptr<JitShader>> cache; - const JitShader* cached_shader = nullptr; }; } // namespace Shader |