diff options
| author | 2016-12-03 22:11:39 -0800 | |
|---|---|---|
| committer | 2016-12-03 22:11:39 -0800 | |
| commit | 4f0f88bc6a8ebef8187eb4de784c9eadcd3e8a6d (patch) | |
| tree | 3fce5859272d2591d3fb4551c8394f4176fe379c /src | |
| parent | Merge pull request #2257 from citra-emu/fix-clang-format (diff) | |
| parent | shader_jit: Fix non-SSE4.1 path where FLR would not truncate (diff) | |
| download | yuzu-4f0f88bc6a8ebef8187eb4de784c9eadcd3e8a6d.tar.gz yuzu-4f0f88bc6a8ebef8187eb4de784c9eadcd3e8a6d.tar.xz yuzu-4f0f88bc6a8ebef8187eb4de784c9eadcd3e8a6d.zip | |
Merge pull request #2259 from JayFoxRox/fix-fallback
shader_jit: Fix non-SSE4.1 path where FLR would not truncate
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/shader/shader_jit_x64.cpp | 2 |
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 9a3d6ca8f..c96110bb2 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) { | |||
| 491 | if (Common::GetCPUCaps().sse4_1) { | 491 | if (Common::GetCPUCaps().sse4_1) { |
| 492 | ROUNDFLOORPS(SRC1, R(SRC1)); | 492 | ROUNDFLOORPS(SRC1, R(SRC1)); |
| 493 | } else { | 493 | } else { |
| 494 | CVTPS2DQ(SRC1, R(SRC1)); | 494 | CVTTPS2DQ(SRC1, R(SRC1)); |
| 495 | CVTDQ2PS(SRC1, R(SRC1)); | 495 | CVTDQ2PS(SRC1, R(SRC1)); |
| 496 | } | 496 | } |
| 497 | 497 | ||