Instruction.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. using System;
  2. namespace Ryujinx.Graphics.Shader.IntermediateRepresentation
  3. {
  4. [Flags]
  5. enum Instruction
  6. {
  7. Absolute = 1,
  8. Add,
  9. BitCount,
  10. BitfieldExtractS32,
  11. BitfieldExtractU32,
  12. BitfieldInsert,
  13. BitfieldReverse,
  14. BitwiseAnd,
  15. BitwiseExclusiveOr,
  16. BitwiseNot,
  17. BitwiseOr,
  18. Branch,
  19. BranchIfFalse,
  20. BranchIfTrue,
  21. Ceiling,
  22. Clamp,
  23. ClampU32,
  24. Comment,
  25. CompareEqual,
  26. CompareGreater,
  27. CompareGreaterOrEqual,
  28. CompareGreaterOrEqualU32,
  29. CompareGreaterU32,
  30. CompareLess,
  31. CompareLessOrEqual,
  32. CompareLessOrEqualU32,
  33. CompareLessU32,
  34. CompareNotEqual,
  35. ConditionalSelect,
  36. ConvertFPToS32,
  37. ConvertS32ToFP,
  38. ConvertU32ToFP,
  39. Copy,
  40. Cosine,
  41. Ddx,
  42. Ddy,
  43. Discard,
  44. Divide,
  45. EmitVertex,
  46. EndPrimitive,
  47. ExponentB2,
  48. FindFirstSetS32,
  49. FindFirstSetU32,
  50. Floor,
  51. FusedMultiplyAdd,
  52. ImageLoad,
  53. ImageStore,
  54. IsNan,
  55. LoadAttribute,
  56. LoadConstant,
  57. LoadGlobal,
  58. LoadLocal,
  59. LoadStorage,
  60. LogarithmB2,
  61. LogicalAnd,
  62. LogicalExclusiveOr,
  63. LogicalNot,
  64. LogicalOr,
  65. LoopBreak,
  66. LoopContinue,
  67. MarkLabel,
  68. Maximum,
  69. MaximumU32,
  70. Minimum,
  71. MinimumU32,
  72. Multiply,
  73. Negate,
  74. PackDouble2x32,
  75. PackHalf2x16,
  76. ReciprocalSquareRoot,
  77. Return,
  78. Round,
  79. ShiftLeft,
  80. ShiftRightS32,
  81. ShiftRightU32,
  82. Shuffle,
  83. ShuffleDown,
  84. ShuffleUp,
  85. ShuffleXor,
  86. Sine,
  87. SquareRoot,
  88. StoreGlobal,
  89. StoreLocal,
  90. StoreStorage,
  91. Subtract,
  92. SwizzleAdd,
  93. TextureSample,
  94. TextureSize,
  95. Truncate,
  96. UnpackDouble2x32,
  97. UnpackHalf2x16,
  98. Count,
  99. FP = 1 << 16,
  100. Mask = 0xffff
  101. }
  102. }