diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-29 19:13:13 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-04-29 19:13:13 +0200 |
commit | a71346cd7c5d3959ca3b07e5b45f4d2c8a9144e9 (patch) | |
tree | abe5e5cd9e394e13a25e87623b1461963173ff06 /src | |
parent | Merge pull request #416 from bunnei/shader-ints-p3 (diff) | |
download | yuzu-a71346cd7c5d3959ca3b07e5b45f4d2c8a9144e9.tar yuzu-a71346cd7c5d3959ca3b07e5b45f4d2c8a9144e9.tar.gz yuzu-a71346cd7c5d3959ca3b07e5b45f4d2c8a9144e9.tar.bz2 yuzu-a71346cd7c5d3959ca3b07e5b45f4d2c8a9144e9.tar.lz yuzu-a71346cd7c5d3959ca3b07e5b45f4d2c8a9144e9.tar.xz yuzu-a71346cd7c5d3959ca3b07e5b45f4d2c8a9144e9.tar.zst yuzu-a71346cd7c5d3959ca3b07e5b45f4d2c8a9144e9.zip |
Diffstat (limited to 'src')
-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 27190cc45..6d5b7a99c 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp @@ -664,6 +664,11 @@ private: } switch (opcode->GetId()) { + case OpCode::Id::MOV_C: { + regs.SetRegisterToFloat(instr.gpr0, 0, op_b, 1, 1); + break; + } + case OpCode::Id::MOV32_IMM: { // mov32i doesn't have abs or neg bits. regs.SetRegisterToFloat(instr.gpr0, 0, GetImmediate32(instr), 1, 1); |