aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/ShaderConfig.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Shader/ShaderConfig.cs')
-rw-r--r--Ryujinx.Graphics.Shader/ShaderConfig.cs12
1 files changed, 8 insertions, 4 deletions
diff --git a/Ryujinx.Graphics.Shader/ShaderConfig.cs b/Ryujinx.Graphics.Shader/ShaderConfig.cs
index 3583fa64..3088cfbb 100644
--- a/Ryujinx.Graphics.Shader/ShaderConfig.cs
+++ b/Ryujinx.Graphics.Shader/ShaderConfig.cs
@@ -6,6 +6,8 @@ namespace Ryujinx.Graphics.Shader
{
public ShaderStage Stage { get; }
+ public ShaderCapabilities Capabilities { get; }
+
public TranslationFlags Flags { get; }
public int MaxOutputVertices { get; }
@@ -13,12 +15,14 @@ namespace Ryujinx.Graphics.Shader
public OutputTopology OutputTopology { get; }
public ShaderConfig(
- ShaderStage stage,
- TranslationFlags flags,
- int maxOutputVertices,
- OutputTopology outputTopology)
+ ShaderStage stage,
+ ShaderCapabilities capabilities,
+ TranslationFlags flags,
+ int maxOutputVertices,
+ OutputTopology outputTopology)
{
Stage = stage;
+ Capabilities = capabilities;
Flags = flags;
MaxOutputVertices = maxOutputVertices;
OutputTopology = outputTopology;