OperandType.cs 502 B

1234567891011121314151617181920212223
  1. namespace Ryujinx.Graphics.Shader.IntermediateRepresentation
  2. {
  3. enum OperandType
  4. {
  5. Argument,
  6. Attribute,
  7. AttributePerPatch,
  8. Constant,
  9. ConstantBuffer,
  10. Label,
  11. LocalVariable,
  12. Register,
  13. Undefined
  14. }
  15. static class OperandTypeExtensions
  16. {
  17. public static bool IsAttribute(this OperandType type)
  18. {
  19. return type == OperandType.Attribute || type == OperandType.AttributePerPatch;
  20. }
  21. }
  22. }