StructuredProgramInfo.cs 792 B

1234567891011121314151617181920212223242526272829303132
  1. using System.Collections.Generic;
  2. namespace Ryujinx.Graphics.Shader.StructuredIr
  3. {
  4. class StructuredProgramInfo
  5. {
  6. public AstBlock MainBlock { get; }
  7. public HashSet<AstOperand> Locals { get; }
  8. public HashSet<int> CBuffers { get; }
  9. public HashSet<int> IAttributes { get; }
  10. public HashSet<int> OAttributes { get; }
  11. public HashSet<AstTextureOperation> Samplers { get; }
  12. public StructuredProgramInfo(AstBlock mainBlock)
  13. {
  14. MainBlock = mainBlock;
  15. Locals = new HashSet<AstOperand>();
  16. CBuffers = new HashSet<int>();
  17. IAttributes = new HashSet<int>();
  18. OAttributes = new HashSet<int>();
  19. Samplers = new HashSet<AstTextureOperation>();
  20. }
  21. }
  22. }