Instruction.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. CompareEqual,
  24. CompareGreater,
  25. CompareGreaterOrEqual,
  26. CompareGreaterOrEqualU32,
  27. CompareGreaterU32,
  28. CompareLess,
  29. CompareLessOrEqual,
  30. CompareLessOrEqualU32,
  31. CompareLessU32,
  32. CompareNotEqual,
  33. ConditionalSelect,
  34. ConvertFPToS32,
  35. ConvertS32ToFP,
  36. ConvertU32ToFP,
  37. Copy,
  38. Cosine,
  39. Discard,
  40. Divide,
  41. EmitVertex,
  42. EndPrimitive,
  43. ExponentB2,
  44. Floor,
  45. FusedMultiplyAdd,
  46. IsNan,
  47. LoadConstant,
  48. LoadGlobal,
  49. LoadLocal,
  50. LogarithmB2,
  51. LogicalAnd,
  52. LogicalExclusiveOr,
  53. LogicalNot,
  54. LogicalOr,
  55. LoopBreak,
  56. LoopContinue,
  57. MarkLabel,
  58. Maximum,
  59. MaximumU32,
  60. Minimum,
  61. MinimumU32,
  62. Multiply,
  63. Negate,
  64. PackDouble2x32,
  65. PackHalf2x16,
  66. ReciprocalSquareRoot,
  67. Return,
  68. ShiftLeft,
  69. ShiftRightS32,
  70. ShiftRightU32,
  71. Sine,
  72. SquareRoot,
  73. StoreGlobal,
  74. StoreLocal,
  75. Subtract,
  76. TextureSample,
  77. TextureSize,
  78. Truncate,
  79. UnpackDouble2x32,
  80. UnpackHalf2x16,
  81. Count,
  82. FP = 1 << 16,
  83. Mask = 0xffff
  84. }
  85. }