ShaderConfig.cs 701 B

123456789101112131415161718192021222324252627
  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 MaxOutputVertices { get; }
  9. public OutputTopology OutputTopology { get; }
  10. public ShaderConfig(
  11. ShaderStage stage,
  12. TranslationFlags flags,
  13. int maxOutputVertices,
  14. OutputTopology outputTopology)
  15. {
  16. Stage = stage;
  17. Flags = flags;
  18. MaxOutputVertices = maxOutputVertices;
  19. OutputTopology = outputTopology;
  20. }
  21. }
  22. }