1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-10 11:31:43 +00:00
Ryujinx/Ryujinx.Graphics.Shader/ShaderConfig.cs
2020-01-09 02:13:00 +01:00

30 lines
No EOL
840 B
C#

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;
}
}
}