mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-07-02 17:20:48 -07:00
Support CC on FSET shader instruction, fix CC on ISET.BF shader instruction
This commit is contained in:
@ -327,14 +327,18 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
||||
|
||||
if (boolFloat)
|
||||
{
|
||||
context.Copy(dest, context.ConditionalSelect(res, ConstF(1), Const(0)));
|
||||
res = context.ConditionalSelect(res, ConstF(1), Const(0));
|
||||
|
||||
context.Copy(dest, res);
|
||||
|
||||
SetFPZnFlags(context, res, op.SetCondCode);
|
||||
}
|
||||
else
|
||||
{
|
||||
context.Copy(dest, res);
|
||||
}
|
||||
|
||||
SetZnFlags(context, res, op.SetCondCode, op.Extended);
|
||||
SetZnFlags(context, res, op.SetCondCode, op.Extended);
|
||||
}
|
||||
|
||||
// TODO: X
|
||||
}
|
||||
|
Reference in New Issue
Block a user