aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-03 22:11:39 -0800
committerGitHub <noreply@github.com>2016-12-03 22:11:39 -0800
commit9b3739ebcaecb4fb19b6ca586ece37375e82b20e (patch)
tree3fce5859272d2591d3fb4551c8394f4176fe379c /src
parent84225aad2a889093a1ebecfa6a052608ee6e8972 (diff)
parent3020767914f0f632ef7cdd1425cc331bbec7c848 (diff)
Merge pull request #2259 from JayFoxRox/fix-fallback
shader_jit: Fix non-SSE4.1 path where FLR would not truncate
Diffstat (limited to 'src')
-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 9a3d6ca8f9..c96110bb26 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));
}