StructuredProgramInfo.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System.Collections.Generic;
  2. namespace Ryujinx.Graphics.Shader.StructuredIr
  3. {
  4. class StructuredProgramInfo
  5. {
  6. public List<StructuredFunction> Functions { get; }
  7. public HashSet<int> CBuffers { get; }
  8. public HashSet<int> SBuffers { get; }
  9. public HashSet<int> IAttributes { get; }
  10. public HashSet<int> OAttributes { get; }
  11. public bool UsesCbIndexing { get; set; }
  12. public HelperFunctionsMask HelperFunctionsMask { get; set; }
  13. public HashSet<AstTextureOperation> Samplers { get; }
  14. public HashSet<AstTextureOperation> Images { get; }
  15. public StructuredProgramInfo()
  16. {
  17. Functions = new List<StructuredFunction>();
  18. CBuffers = new HashSet<int>();
  19. SBuffers = new HashSet<int>();
  20. IAttributes = new HashSet<int>();
  21. OAttributes = new HashSet<int>();
  22. Samplers = new HashSet<AstTextureOperation>();
  23. Images = new HashSet<AstTextureOperation>();
  24. }
  25. }
  26. }