diff options
author | bunnei <bunneidev@gmail.com> | 2016-03-27 03:02:15 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-04-14 05:04:47 +0200 |
commit | a5a74eb121e0586706c3196d450c088280f996a5 (patch) | |
tree | 1ed5030e828e221d2c34596effaa1e680a678391 /src/video_core/shader/shader_jit_x64.cpp | |
parent | shader_jit_x64: Allocate each program independently and persist for emu session. (diff) | |
download | yuzu-a5a74eb121e0586706c3196d450c088280f996a5.tar yuzu-a5a74eb121e0586706c3196d450c088280f996a5.tar.gz yuzu-a5a74eb121e0586706c3196d450c088280f996a5.tar.bz2 yuzu-a5a74eb121e0586706c3196d450c088280f996a5.tar.lz yuzu-a5a74eb121e0586706c3196d450c088280f996a5.tar.xz yuzu-a5a74eb121e0586706c3196d450c088280f996a5.tar.zst yuzu-a5a74eb121e0586706c3196d450c088280f996a5.zip |
Diffstat (limited to 'src/video_core/shader/shader_jit_x64.cpp')
-rw-r--r-- | src/video_core/shader/shader_jit_x64.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp index 3da4e51fa..cbdc1e40f 100644 --- a/src/video_core/shader/shader_jit_x64.cpp +++ b/src/video_core/shader/shader_jit_x64.cpp @@ -838,9 +838,7 @@ void JitCompiler::Compile() { fixup_branches.clear(); // Jump to start of the shader program - if (g_state.regs.vs.main_offset != 0) { - fixup_branches.push_back({ J(true), g_state.regs.vs.main_offset }); - } + JMPptr(R(ABI_PARAM2)); // Compile entire program Compile_Block(static_cast<unsigned>(g_state.vs.program_code.size())); |