diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-04 07:11:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-04 07:11:39 +0100 |
commit | 4f0f88bc6a8ebef8187eb4de784c9eadcd3e8a6d (patch) | |
tree | 3fce5859272d2591d3fb4551c8394f4176fe379c /src | |
parent | Merge pull request #2257 from citra-emu/fix-clang-format (diff) | |
parent | shader_jit: Fix non-SSE4.1 path where FLR would not truncate (diff) | |
download | yuzu-4f0f88bc6a8ebef8187eb4de784c9eadcd3e8a6d.tar yuzu-4f0f88bc6a8ebef8187eb4de784c9eadcd3e8a6d.tar.gz yuzu-4f0f88bc6a8ebef8187eb4de784c9eadcd3e8a6d.tar.bz2 yuzu-4f0f88bc6a8ebef8187eb4de784c9eadcd3e8a6d.tar.lz yuzu-4f0f88bc6a8ebef8187eb4de784c9eadcd3e8a6d.tar.xz yuzu-4f0f88bc6a8ebef8187eb4de784c9eadcd3e8a6d.tar.zst yuzu-4f0f88bc6a8ebef8187eb4de784c9eadcd3e8a6d.zip |
Diffstat (limited to 'src')
-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 9a3d6ca8f..c96110bb2 100644 --- a/src/video_core/shader/shader_jit_x64.cpp +++ b/src/video_core/shader/shader_jit_x64.cpp @@ -491,7 +491,7 @@ void JitShader::Compile_FLR(Instruction instr) { if (Common::GetCPUCaps().sse4_1) { ROUNDFLOORPS(SRC1, R(SRC1)); } else { - CVTPS2DQ(SRC1, R(SRC1)); + CVTTPS2DQ(SRC1, R(SRC1)); CVTDQ2PS(SRC1, R(SRC1)); } |