Instruction.cs 1.8 KB

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