aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/Shader/ShaderIrOperPred.cs
blob: 74cca0efef5a73cfd95297809b35e5bda0a3e3c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace Ryujinx.Graphics.Gal.Shader
{
    class ShaderIrOperPred : ShaderIrNode
    {
        public const int UnusedIndex  = 0x7;
        public const int NeverExecute = 0xf;

        public bool IsConst => Index >= UnusedIndex;

        public int Index { get; set; }

        public ShaderIrOperPred(int Index)
        {
            this.Index = Index;
        }
    }
}