mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-26 12:03:01 +00:00
Fix PSL and MRG flags on XMAD cbuf-reg shader instruction (#1520)
This commit is contained in:
parent
3ec911a630
commit
3d294a9a6c
1 changed files with 6 additions and 1 deletions
|
@ -674,7 +674,12 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
|||
bool productShiftLeft = false;
|
||||
bool merge = false;
|
||||
|
||||
if (!(op is OpCodeAluRegCbuf))
|
||||
if (op is OpCodeAluCbuf)
|
||||
{
|
||||
productShiftLeft = context.CurrOp.RawOpCode.Extract(55);
|
||||
merge = context.CurrOp.RawOpCode.Extract(56);
|
||||
}
|
||||
else if (!(op is OpCodeAluRegCbuf))
|
||||
{
|
||||
productShiftLeft = context.CurrOp.RawOpCode.Extract(36);
|
||||
merge = context.CurrOp.RawOpCode.Extract(37);
|
||||
|
|
Loading…
Reference in a new issue