TextureFlags.cs 809 B

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Diagnostics.CodeAnalysis;
  3. namespace Ryujinx.Graphics.Shader.IntermediateRepresentation
  4. {
  5. [Flags]
  6. [SuppressMessage("Design", "CA1069: Enums values should not be duplicated")]
  7. enum TextureFlags
  8. {
  9. None = 0,
  10. Bindless = 1 << 0,
  11. Gather = 1 << 1,
  12. Derivatives = 1 << 2,
  13. IntCoords = 1 << 3,
  14. LodBias = 1 << 4,
  15. LodLevel = 1 << 5,
  16. Offset = 1 << 6,
  17. Offsets = 1 << 7,
  18. Coherent = 1 << 8,
  19. AtomicMask = 15 << 16,
  20. Add = 0 << 16,
  21. Minimum = 1 << 16,
  22. Maximum = 2 << 16,
  23. Increment = 3 << 16,
  24. Decrement = 4 << 16,
  25. BitwiseAnd = 5 << 16,
  26. BitwiseOr = 6 << 16,
  27. BitwiseXor = 7 << 16,
  28. Swap = 8 << 16,
  29. CAS = 9 << 16,
  30. }
  31. }