ShaderConfig.cs 840 B

123456789101112131415161718192021222324252627282930
  1. using Ryujinx.Graphics.Shader.Translation;
  2. namespace Ryujinx.Graphics.Shader
  3. {
  4. struct ShaderConfig
  5. {
  6. public ShaderStage Stage { get; }
  7. public TranslationFlags Flags { get; }
  8. public int MaxCBufferSize { get; }
  9. public int MaxOutputVertices { get; }
  10. public OutputTopology OutputTopology { get; }
  11. public ShaderConfig(
  12. ShaderStage stage,
  13. TranslationFlags flags,
  14. int maxCBufferSize,
  15. int maxOutputVertices,
  16. OutputTopology outputTopology)
  17. {
  18. Stage = stage;
  19. Flags = flags;
  20. MaxCBufferSize = maxCBufferSize;
  21. MaxOutputVertices = maxOutputVertices;
  22. OutputTopology = outputTopology;
  23. }
  24. }
  25. }