StructuredProgramInfo.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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 UsesInstanceId { get; set; }
  12. public bool UsesCbIndexing { get; set; }
  13. public HelperFunctionsMask HelperFunctionsMask { get; set; }
  14. public HashSet<AstTextureOperation> Samplers { get; }
  15. public HashSet<AstTextureOperation> Images { get; }
  16. public StructuredProgramInfo()
  17. {
  18. Functions = new List<StructuredFunction>();
  19. CBuffers = new HashSet<int>();
  20. SBuffers = new HashSet<int>();
  21. IAttributes = new HashSet<int>();
  22. OAttributes = new HashSet<int>();
  23. Samplers = new HashSet<AstTextureOperation>();
  24. Images = new HashSet<AstTextureOperation>();
  25. }
  26. }
  27. }