mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-28 10:00:50 +01:00
30 lines
840 B
C#
30 lines
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;
|
|
}
|
|
}
|
|
} |