TextureFlags.cs 763 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. namespace Ryujinx.Graphics.Shader.IntermediateRepresentation
  3. {
  4. [Flags]
  5. enum TextureFlags
  6. {
  7. None = 0,
  8. Bindless = 1 << 0,
  9. Gather = 1 << 1,
  10. Derivatives = 1 << 2,
  11. IntCoords = 1 << 3,
  12. LodBias = 1 << 4,
  13. LodLevel = 1 << 5,
  14. Offset = 1 << 6,
  15. Offsets = 1 << 7,
  16. Coherent = 1 << 8,
  17. AtomicMask = 15 << 16,
  18. Add = 0 << 16,
  19. Minimum = 1 << 16,
  20. Maximum = 2 << 16,
  21. Increment = 3 << 16,
  22. Decrement = 4 << 16,
  23. BitwiseAnd = 5 << 16,
  24. BitwiseOr = 6 << 16,
  25. BitwiseXor = 7 << 16,
  26. Swap = 8 << 16,
  27. CAS = 9 << 16
  28. }
  29. }