mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-14 20:00:17 +00:00
false/true -> 0/-1
This commit is contained in:
parent
b6d9cc824e
commit
0741e247e3
1 changed files with 2 additions and 2 deletions
|
@ -97,8 +97,8 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
||||||
{
|
{
|
||||||
return imm switch
|
return imm switch
|
||||||
{
|
{
|
||||||
TruthTable.False => Const(IrConsts.False),
|
TruthTable.False => Const(0),
|
||||||
TruthTable.True => Const(IrConsts.True),
|
TruthTable.True => Const(-1),
|
||||||
TruthTable.In => x,
|
TruthTable.In => x,
|
||||||
TruthTable.And2 => context.BitwiseAnd(x, y),
|
TruthTable.And2 => context.BitwiseAnd(x, y),
|
||||||
TruthTable.Xor2 => context.BitwiseExclusiveOr(x, y),
|
TruthTable.Xor2 => context.BitwiseExclusiveOr(x, y),
|
||||||
|
|
Loading…
Reference in a new issue