mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 14:45:45 +00:00
Fix incorrect saturation on HADD2 and HMUL2 shader instructions
This commit is contained in:
parent
873bb4c15a
commit
717ace6f6e
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
|||
{
|
||||
OpCode op = context.CurrOp;
|
||||
|
||||
bool saturate = op.RawOpCode.Extract(op is OpCodeAluImm32 ? 52 : 32);
|
||||
bool saturate = op.RawOpCode.Extract(op is IOpCodeReg ? 32 : 52);
|
||||
|
||||
Operand[] srcA = GetHalfSrcA(context);
|
||||
Operand[] srcB = GetHalfSrcB(context);
|
||||
|
|
Loading…
Reference in a new issue