Merge pull request #2259 from JayFoxRox/fix-fallback

shader_jit: Fix non-SSE4.1 path where FLR would not truncate
master
Yuri Kunde Schlesner 2016-12-03 22:11:39 +07:00 committed by GitHub
commit 4f0f88bc6a
1 changed files with 1 additions and 1 deletions

@ -491,7 +491,7 @@ void JitShader::Compile_FLR(Instruction instr) {
if (Common::GetCPUCaps().sse4_1) { if (Common::GetCPUCaps().sse4_1) {
ROUNDFLOORPS(SRC1, R(SRC1)); ROUNDFLOORPS(SRC1, R(SRC1));
} else { } else {
CVTPS2DQ(SRC1, R(SRC1)); CVTTPS2DQ(SRC1, R(SRC1));
CVTDQ2PS(SRC1, R(SRC1)); CVTDQ2PS(SRC1, R(SRC1));
} }