Instruction.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. Round,
  74. ShiftLeft,
  75. ShiftRightS32,
  76. ShiftRightU32,
  77. Sine,
  78. SquareRoot,
  79. StoreGlobal,
  80. StoreLocal,
  81. StoreStorage,
  82. Subtract,
  83. TextureSample,
  84. TextureSize,
  85. Truncate,
  86. UnpackDouble2x32,
  87. UnpackHalf2x16,
  88. Count,
  89. FP = 1 << 16,
  90. Mask = 0xffff
  91. }
  92. }