diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-15 20:19:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-15 20:19:24 +0100 |
commit | 1abb98202c3aaca9981952c0e032208617ba66a7 (patch) | |
tree | 6cdea77ca6a9efa650adbdd403efd8b00819e1d6 | |
parent | Merge pull request #2314 from mailwl/account (diff) | |
parent | shader_jit_x64: Use LOOPCOUNT_REG as a 64-bit reg when indexing (diff) | |
download | yuzu-1abb98202c3aaca9981952c0e032208617ba66a7.tar yuzu-1abb98202c3aaca9981952c0e032208617ba66a7.tar.gz yuzu-1abb98202c3aaca9981952c0e032208617ba66a7.tar.bz2 yuzu-1abb98202c3aaca9981952c0e032208617ba66a7.tar.lz yuzu-1abb98202c3aaca9981952c0e032208617ba66a7.tar.xz yuzu-1abb98202c3aaca9981952c0e032208617ba66a7.tar.zst yuzu-1abb98202c3aaca9981952c0e032208617ba66a7.zip |
-rw-r--r-- | src/video_core/shader/shader_jit_x64.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp index cfdeb8d6a..3ba31d474 100644 --- a/src/video_core/shader/shader_jit_x64.cpp +++ b/src/video_core/shader/shader_jit_x64.cpp @@ -222,7 +222,7 @@ void JitShader::Compile_SwizzleSrc(Instruction instr, unsigned src_num, SourceRe movaps(dest, xword[src_ptr + ADDROFFS_REG_1 + src_offset_disp]); break; case 3: // address offset 3 - movaps(dest, xword[src_ptr + LOOPCOUNT_REG + src_offset_disp]); + movaps(dest, xword[src_ptr + LOOPCOUNT_REG.cvt64() + src_offset_disp]); break; default: UNREACHABLE(); |