Instruction.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. IsNan,
  48. LoadAttribute,
  49. LoadConstant,
  50. LoadGlobal,
  51. LoadLocal,
  52. LoadStorage,
  53. LogarithmB2,
  54. LogicalAnd,
  55. LogicalExclusiveOr,
  56. LogicalNot,
  57. LogicalOr,
  58. LoopBreak,
  59. LoopContinue,
  60. MarkLabel,
  61. Maximum,
  62. MaximumU32,
  63. Minimum,
  64. MinimumU32,
  65. Multiply,
  66. Negate,
  67. PackDouble2x32,
  68. PackHalf2x16,
  69. ReciprocalSquareRoot,
  70. Return,
  71. ShiftLeft,
  72. ShiftRightS32,
  73. ShiftRightU32,
  74. Sine,
  75. SquareRoot,
  76. StoreGlobal,
  77. StoreLocal,
  78. StoreStorage,
  79. Subtract,
  80. TextureSample,
  81. TextureSize,
  82. Truncate,
  83. UnpackDouble2x32,
  84. UnpackHalf2x16,
  85. Count,
  86. FP = 1 << 16,
  87. Mask = 0xffff
  88. }
  89. }