FeatureFlags.cs 625 B

12345678910111213141516171819202122232425
  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. RtLayer = 1 << 4,
  18. CbIndexing = 1 << 5,
  19. IaIndexing = 1 << 6,
  20. OaIndexing = 1 << 7
  21. }
  22. }