yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

shader_jit: Fix non-SSE4.1 path where FLR would not truncate

This commit is contained in:
Jannik Vogel 2016-12-04 04:25:53 +01:00
parent 018191c1f0
commit 2d8097eecc
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}