diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-27 05:21:17 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-04-29 02:03:18 +0200 |
commit | a7b5ab4d9a275c6a16c5a7fdb2fd39827922eb61 (patch) | |
tree | 9400796903971ac3c113c87ad5502a3baaf9e40a /src/video_core/renderer_opengl/gl_shader_decompiler.cpp | |
parent | Merge pull request #414 from lioncash/cruft (diff) | |
download | yuzu-a7b5ab4d9a275c6a16c5a7fdb2fd39827922eb61.tar yuzu-a7b5ab4d9a275c6a16c5a7fdb2fd39827922eb61.tar.gz yuzu-a7b5ab4d9a275c6a16c5a7fdb2fd39827922eb61.tar.bz2 yuzu-a7b5ab4d9a275c6a16c5a7fdb2fd39827922eb61.tar.lz yuzu-a7b5ab4d9a275c6a16c5a7fdb2fd39827922eb61.tar.xz yuzu-a7b5ab4d9a275c6a16c5a7fdb2fd39827922eb61.tar.zst yuzu-a7b5ab4d9a275c6a16c5a7fdb2fd39827922eb61.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 8b235e252..647da4eb0 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -620,6 +620,11 @@ private: } switch (opcode->GetId()) { + case OpCode::Id::MOV32_IMM: { + // mov32i doesn't have abs or neg bits. + regs.SetRegisterToFloat(instr.gpr0, 0, GetImmediate32(instr), 1, 1); + break; + } case OpCode::Id::FMUL_C: case OpCode::Id::FMUL_R: case OpCode::Id::FMUL_IMM: { |