FeatureFlags.cs 491 B

1234567891011121314151617181920
  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. FragCoordXY = 1 << 1,
  14. IntegerSampling = 1 << 0,
  15. Bindless = 1 << 2,
  16. }
  17. }