aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.GAL/Blend
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.GAL/Blend')
-rw-r--r--Ryujinx.Graphics.GAL/Blend/BlendFactor.cs18
-rw-r--r--Ryujinx.Graphics.GAL/Blend/BlendOp.cs8
2 files changed, 24 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.GAL/Blend/BlendFactor.cs b/Ryujinx.Graphics.GAL/Blend/BlendFactor.cs
index 0eda08a7..f92e5b3a 100644
--- a/Ryujinx.Graphics.GAL/Blend/BlendFactor.cs
+++ b/Ryujinx.Graphics.GAL/Blend/BlendFactor.cs
@@ -20,6 +20,22 @@ namespace Ryujinx.Graphics.GAL.Blend
ConstantColor = 0xc001,
OneMinusConstantColor,
ConstantAlpha,
- OneMinusConstantAlpha
+ OneMinusConstantAlpha,
+
+ ZeroGl = 0x4000,
+ OneGl = 0x4001,
+ SrcColorGl = 0x4300,
+ OneMinusSrcColorGl = 0x4301,
+ SrcAlphaGl = 0x4302,
+ OneMinusSrcAlphaGl = 0x4303,
+ DstAlphaGl = 0x4304,
+ OneMinusDstAlphaGl = 0x4305,
+ DstColorGl = 0x4306,
+ OneMinusDstColorGl = 0x4307,
+ SrcAlphaSaturateGl = 0x4308,
+ Src1ColorGl = 0xc900,
+ OneMinusSrc1ColorGl = 0xc901,
+ Src1AlphaGl = 0xc902,
+ OneMinusSrc1AlphaGl = 0xc903
}
} \ No newline at end of file
diff --git a/Ryujinx.Graphics.GAL/Blend/BlendOp.cs b/Ryujinx.Graphics.GAL/Blend/BlendOp.cs
index 51a0062d..566dafd9 100644
--- a/Ryujinx.Graphics.GAL/Blend/BlendOp.cs
+++ b/Ryujinx.Graphics.GAL/Blend/BlendOp.cs
@@ -6,6 +6,12 @@ namespace Ryujinx.Graphics.GAL.Blend
Subtract,
ReverseSubtract,
Minimum,
- Maximum
+ Maximum,
+
+ AddGl = 0x8006,
+ SubtractGl = 0x8007,
+ ReverseSubtractGl = 0x8008,
+ MinimumGl = 0x800a,
+ MaximumGl = 0x800b
}
}