소스 검색

Merge pull request #2259 from JayFoxRox/fix-fallback

shader_jit: Fix non-SSE4.1 path where FLR would not truncate
Yuri Kunde Schlesner 9 년 전
부모
커밋
4f0f88bc6a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/video_core/shader/shader_jit_x64.cpp

+ 1 - 1
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));
     }