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