Fix negation of HADD2 constant buffer source (#1116)

This commit is contained in:
gdkchan 2020-04-14 20:01:26 -03:00 committed by GitHub
parent 57369fa246
commit e64ad4968e
2 changed files with 7 additions and 2 deletions

View file

@ -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];