aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/ShaderConfig.cs
blob: 6ab4689a675145e0eb3396e6c21ebaf352ca44cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using Ryujinx.Graphics.Shader.Translation;

namespace Ryujinx.Graphics.Shader
{
    struct ShaderConfig
    {
        public ShaderStage Stage { get; }

        public TranslationFlags Flags { get; }

        public int MaxCBufferSize    { get; }
        public int MaxOutputVertices { get; }

        public OutputTopology OutputTopology { get; }

        public ShaderConfig(
            ShaderStage      stage,
            TranslationFlags flags,
            int              maxCBufferSize,
            int              maxOutputVertices,
            OutputTopology   outputTopology)
        {
            Stage             = stage;
            Flags             = flags;
            MaxCBufferSize    = maxCBufferSize;
            MaxOutputVertices = maxOutputVertices;
            OutputTopology    = outputTopology;
        }
    }
}