FeatureFlags.cs 599 B

123456789101112131415161718192021222324
  1. using System;
  2. namespace Ryujinx.Graphics.Shader.Translation
  3. {
  4. /// <summary>
  5. /// Features used by the shader that are important for the code generator to know in advance.
  6. /// These typically change the declarations in the shader header.
  7. /// </summary>
  8. [Flags]
  9. public enum FeatureFlags
  10. {
  11. None = 0,
  12. // Affected by resolution scaling.
  13. IntegerSampling = 1 << 0,
  14. FragCoordXY = 1 << 1,
  15. Bindless = 1 << 2,
  16. InstanceId = 1 << 3,
  17. CbIndexing = 1 << 4,
  18. IaIndexing = 1 << 5,
  19. OaIndexing = 1 << 6
  20. }
  21. }