summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-15 19:02:42 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-15 19:02:42 +0100
commitfb9e856b91e756206da07ebf1583701747672e30 (patch)
tree537ee02167e68bc5061de9090bfdbe7c003d7457
parentMerge pull request #2321 from yuriks/flush-pages (diff)
downloadyuzu-fb9e856b91e756206da07ebf1583701747672e30.tar
yuzu-fb9e856b91e756206da07ebf1583701747672e30.tar.gz
yuzu-fb9e856b91e756206da07ebf1583701747672e30.tar.bz2
yuzu-fb9e856b91e756206da07ebf1583701747672e30.tar.lz
yuzu-fb9e856b91e756206da07ebf1583701747672e30.tar.xz
yuzu-fb9e856b91e756206da07ebf1583701747672e30.tar.zst
yuzu-fb9e856b91e756206da07ebf1583701747672e30.zip
-rw-r--r--src/video_core/shader/shader_jit_x64.cpp2
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();