TextureFlags.cs 733 B

12345678910111213141516171819202122232425262728293031
  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. AtomicMask = 15 << 16,
  17. Add = 0 << 16,
  18. Minimum = 1 << 16,
  19. Maximum = 2 << 16,
  20. Increment = 3 << 16,
  21. Decrement = 4 << 16,
  22. BitwiseAnd = 5 << 16,
  23. BitwiseOr = 6 << 16,
  24. BitwiseXor = 7 << 16,
  25. Swap = 8 << 16,
  26. CAS = 9 << 16
  27. }
  28. }