diff options
author | aroulin <andy.roulin@epfl.ch> | 2015-08-27 15:21:05 +0200 |
---|---|---|
committer | aroulin <andy.roulin@epfl.ch> | 2015-08-27 15:26:41 +0200 |
commit | f52d8c1a9b345464160a29e94e53f14ed0446491 (patch) | |
tree | 4420d0969c6b2f420c2f98835a67b8ba37667680 /src/video_core | |
parent | Merge pull request #1074 from lioncash/bool (diff) | |
download | yuzu-f52d8c1a9b345464160a29e94e53f14ed0446491.tar yuzu-f52d8c1a9b345464160a29e94e53f14ed0446491.tar.gz yuzu-f52d8c1a9b345464160a29e94e53f14ed0446491.tar.bz2 yuzu-f52d8c1a9b345464160a29e94e53f14ed0446491.tar.lz yuzu-f52d8c1a9b345464160a29e94e53f14ed0446491.tar.xz yuzu-f52d8c1a9b345464160a29e94e53f14ed0446491.tar.zst yuzu-f52d8c1a9b345464160a29e94e53f14ed0446491.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/shader/shader_jit_x64.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/shader_jit_x64.cpp b/src/video_core/shader/shader_jit_x64.cpp index cc66fc8d6..a8045d4b0 100644 --- a/src/video_core/shader/shader_jit_x64.cpp +++ b/src/video_core/shader/shader_jit_x64.cpp @@ -485,8 +485,8 @@ void JitCompiler::Compile_MOVA(Instruction instr) { Compile_SwizzleSrc(instr, 1, instr.common.src1, SRC1); - // Convert floats to integers (only care about X and Y components) - CVTPS2DQ(SRC1, R(SRC1)); + // Convert floats to integers using truncation (only care about X and Y components) + CVTTPS2DQ(SRC1, R(SRC1)); // Get result MOVQ_xmm(R(RAX), SRC1); |