mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-21 19:43:34 +00:00
shader_jit: Fix non-SSE4.1 path where FLR would not truncate
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user