summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2018-10-23 02:17:04 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2018-10-23 02:22:15 +0200
commit259da93567a33ce50d6dcd4e73d89adc7ceaf9ea (patch)
treec16914d026578aeadfdef2d973e974aef3e37f21 /src/video_core/renderer_opengl/gl_shader_decompiler.cpp
parentMerge pull request #1541 from lioncash/define (diff)
downloadyuzu-259da93567a33ce50d6dcd4e73d89adc7ceaf9ea.tar
yuzu-259da93567a33ce50d6dcd4e73d89adc7ceaf9ea.tar.gz
yuzu-259da93567a33ce50d6dcd4e73d89adc7ceaf9ea.tar.bz2
yuzu-259da93567a33ce50d6dcd4e73d89adc7ceaf9ea.tar.lz
yuzu-259da93567a33ce50d6dcd4e73d89adc7ceaf9ea.tar.xz
yuzu-259da93567a33ce50d6dcd4e73d89adc7ceaf9ea.tar.zst
yuzu-259da93567a33ce50d6dcd4e73d89adc7ceaf9ea.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_decompiler.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
index b0eb879cc..767a16c25 100644
--- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp
@@ -1459,9 +1459,10 @@ private:
break;
}
case OpCode::Id::FMUL32_IMM: {
- regs.SetRegisterToFloat(
- instr.gpr0, 0,
- regs.GetRegisterAsFloat(instr.gpr8) + " * " + GetImmediate32(instr), 1, 1);
+ regs.SetRegisterToFloat(instr.gpr0, 0,
+ regs.GetRegisterAsFloat(instr.gpr8) + " * " +
+ GetImmediate32(instr),
+ 1, 1, instr.fmul32.saturate);
break;
}
case OpCode::Id::FADD32I: {