TextureUsageFlags.cs 444 B

12345678910111213141516171819
  1. using System;
  2. namespace Ryujinx.Graphics.Shader
  3. {
  4. /// <summary>
  5. /// Flags that indicate how a texture will be used in a shader.
  6. /// </summary>
  7. [Flags]
  8. public enum TextureUsageFlags
  9. {
  10. None = 0,
  11. // Integer sampled textures must be noted for resolution scaling.
  12. ResScaleUnsupported = 1 << 0,
  13. NeedsScaleValue = 1 << 1,
  14. ImageStore = 1 << 2,
  15. ImageCoherent = 1 << 3
  16. }
  17. }