FeatureFlags.cs 690 B

123456789101112131415161718192021222324252627
  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. DrawParameters = 1 << 4,
  18. RtLayer = 1 << 5,
  19. CbIndexing = 1 << 6,
  20. IaIndexing = 1 << 7,
  21. OaIndexing = 1 << 8,
  22. FixedFuncAttr = 1 << 9
  23. }
  24. }