2018-04-08 19:17:35 +00:00
|
|
|
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; }
|
|
|
|
|
2019-03-04 01:45:25 +00:00
|
|
|
public ShaderIrOperPred(int index)
|
2018-04-08 19:17:35 +00:00
|
|
|
{
|
2019-03-04 01:45:25 +00:00
|
|
|
Index = index;
|
2018-04-08 19:17:35 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|