summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/shader.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-04-02 05:33:03 +0200
committerbunnei <bunneidev@gmail.com>2016-04-14 05:04:48 +0200
commitffcf7ecee9f0b2843783e3678edaffbe1dda8ca2 (patch)
treef3bf0ec46d7317c0ec4bea8b5912f0d2d0639dcc /src/video_core/shader/shader.cpp
parentshader_jit_x64: Specify shader main offset at runtime. (diff)
downloadyuzu-ffcf7ecee9f0b2843783e3678edaffbe1dda8ca2.tar
yuzu-ffcf7ecee9f0b2843783e3678edaffbe1dda8ca2.tar.gz
yuzu-ffcf7ecee9f0b2843783e3678edaffbe1dda8ca2.tar.bz2
yuzu-ffcf7ecee9f0b2843783e3678edaffbe1dda8ca2.tar.lz
yuzu-ffcf7ecee9f0b2843783e3678edaffbe1dda8ca2.tar.xz
yuzu-ffcf7ecee9f0b2843783e3678edaffbe1dda8ca2.tar.zst
yuzu-ffcf7ecee9f0b2843783e3678edaffbe1dda8ca2.zip
Diffstat (limited to 'src/video_core/shader/shader.cpp')
-rw-r--r--src/video_core/shader/shader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/shader.cpp b/src/video_core/shader/shader.cpp
index b35413488..5214864ec 100644
--- a/src/video_core/shader/shader.cpp
+++ b/src/video_core/shader/shader.cpp
@@ -32,7 +32,7 @@ static std::unordered_map<u64, std::unique_ptr<JitCompiler>> shader_map;
static const JitCompiler* jit_shader;
#endif // ARCHITECTURE_x86_64
-void Setup(UnitState<false>& state) {
+void Setup() {
#ifdef ARCHITECTURE_x86_64
if (VideoCore::g_shader_jit_enabled) {
u64 cache_key = (Common::ComputeHash64(&g_state.vs.program_code, sizeof(g_state.vs.program_code)) ^