aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Shader/Decoders/IntegerCondition.cs
blob: a1937c2f52d5f45a3a29dd828d207e85af96326c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace Ryujinx.Graphics.Shader.Decoders
{
    enum IntegerCondition
    {
        Less    = 1 << 0,
        Equal   = 1 << 1,
        Greater = 1 << 2,

        Never = 0,

        LessOrEqual    = Less    | Equal,
        NotEqual       = Less    | Greater,
        GreaterOrEqual = Greater | Equal,
        Number         = Greater | Equal | Less,

        Always = 7
    }
}