mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-22 17:05:45 +00:00
shader: Add missing fsetp negation bit on srcB (#760)
This commit is contained in:
parent
b9c94ada34
commit
ebea4967f8
1 changed files with 3 additions and 2 deletions
|
@ -158,9 +158,10 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
|||
bool absoluteA = op.RawOpCode.Extract(7);
|
||||
bool negateA = op.RawOpCode.Extract(43);
|
||||
bool absoluteB = op.RawOpCode.Extract(44);
|
||||
bool negateB = op.RawOpCode.Extract(6);
|
||||
|
||||
Operand srcA = context.FPAbsNeg(GetSrcA(context), absoluteA, negateA);
|
||||
Operand srcB = context.FPAbsolute(GetSrcB(context), absoluteB);
|
||||
Operand srcB = context.FPAbsNeg(GetSrcB(context), absoluteB, negateB);
|
||||
|
||||
Operand p0Res = GetFPComparison(context, cmpOp, srcA, srcB);
|
||||
|
||||
|
|
Loading…
Reference in a new issue