Initial work
This commit is contained in:
parent
f617fb542a
commit
1876b346fe
518 changed files with 15170 additions and 12486 deletions
30
Ryujinx.Graphics.Shader/ShaderConfig.cs
Normal file
30
Ryujinx.Graphics.Shader/ShaderConfig.cs
Normal file
|
@ -0,0 +1,30 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue