ShaderIrOperPred.cs 375 B

1234567891011121314151617
  1. namespace Ryujinx.Graphics.Gal.Shader
  2. {
  3. class ShaderIrOperPred : ShaderIrNode
  4. {
  5. public const int UnusedIndex = 0x7;
  6. public const int NeverExecute = 0xf;
  7. public bool IsConst => Index >= UnusedIndex;
  8. public int Index { get; set; }
  9. public ShaderIrOperPred(int Index)
  10. {
  11. this.Index = Index;
  12. }
  13. }
  14. }