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