1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00
Ryujinx/Ryujinx.Graphics.Shader/ShaderConfig.cs

31 lines
857 B
C#
Raw Normal View History

2019-10-13 08:02:07 +02:00
using Ryujinx.Graphics.Shader.Translation;
namespace Ryujinx.Graphics.Shader
{
struct ShaderConfig
{
public ShaderStage Stage { get; }
public ShaderCapabilities Capabilities { get; }
2019-10-13 08:02:07 +02:00
public TranslationFlags Flags { get; }
public int MaxOutputVertices { get; }
public OutputTopology OutputTopology { get; }
public ShaderConfig(
ShaderStage stage,
ShaderCapabilities capabilities,
TranslationFlags flags,
int maxOutputVertices,
OutputTopology outputTopology)
2019-10-13 08:02:07 +02:00
{
Stage = stage;
Capabilities = capabilities;
2019-10-13 08:02:07 +02:00
Flags = flags;
MaxOutputVertices = maxOutputVertices;
OutputTopology = outputTopology;
}
}
}