Archived
1
0
Fork 0
forked from Mirror/Ryujinx
This repository has been archived on 2024-10-11. You can view files and clone it, but cannot push or open issues or pull requests.
jinx/Ryujinx.Graphics.Shader/ShaderConfig.cs

30 lines
840 B
C#
Raw Normal View History

2019-10-13 06:02:07 +00:00
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;
}
}
}