diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2020-04-14 20:01:26 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-15 09:01:26 +1000 |
| commit | 92cc37e365d02aaa2e2d499acac6bdcb7a13d069 (patch) | |
| tree | ab3c03de7e799c0668385b3441303fff58f7636e /Ryujinx.Graphics.Shader/Instructions/InstEmitFArith.cs | |
| parent | ad3d2fb5a9326577a9ea1b67e06a34b09236dd8d (diff) | |
Fix negation of HADD2 constant buffer source (#1116)
Diffstat (limited to 'Ryujinx.Graphics.Shader/Instructions/InstEmitFArith.cs')
| -rw-r--r-- | Ryujinx.Graphics.Shader/Instructions/InstEmitFArith.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/Instructions/InstEmitFArith.cs b/Ryujinx.Graphics.Shader/Instructions/InstEmitFArith.cs index c171a986..1da5158f 100644 --- a/Ryujinx.Graphics.Shader/Instructions/InstEmitFArith.cs +++ b/Ryujinx.Graphics.Shader/Instructions/InstEmitFArith.cs @@ -203,7 +203,7 @@ namespace Ryujinx.Graphics.Shader.Instructions bool saturate = op.RawOpCode.Extract(op is IOpCodeReg ? 32 : 52); Operand[] srcA = GetHalfSrcA(context, isAdd); - Operand[] srcB = GetHalfSrcB(context); + Operand[] srcB = GetHalfSrcB(context, !isAdd); Operand[] res = new Operand[2]; |
