mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-11-24 10:10:12 +01:00
7aa430f1a5
* Add blend microcode registers * Add advanced blend support using host extension * Remove debug message * Use pre-generated table for blend functions * XML docs * Rename AdvancedBlendMode to AdvancedBlendOp for consistency * Remove redundant code * Fix some advanced blend related issues on Vulkan * Formatting
52 lines
889 B
C#
52 lines
889 B
C#
namespace Ryujinx.Graphics.GAL
|
|
{
|
|
public enum AdvancedBlendOp
|
|
{
|
|
Zero,
|
|
Src,
|
|
Dst,
|
|
SrcOver,
|
|
DstOver,
|
|
SrcIn,
|
|
DstIn,
|
|
SrcOut,
|
|
DstOut,
|
|
SrcAtop,
|
|
DstAtop,
|
|
Xor,
|
|
Plus,
|
|
PlusClamped,
|
|
PlusClampedAlpha,
|
|
PlusDarker,
|
|
Multiply,
|
|
Screen,
|
|
Overlay,
|
|
Darken,
|
|
Lighten,
|
|
ColorDodge,
|
|
ColorBurn,
|
|
HardLight,
|
|
SoftLight,
|
|
Difference,
|
|
Minus,
|
|
MinusClamped,
|
|
Exclusion,
|
|
Contrast,
|
|
Invert,
|
|
InvertRGB,
|
|
InvertOvg,
|
|
LinearDodge,
|
|
LinearBurn,
|
|
VividLight,
|
|
LinearLight,
|
|
PinLight,
|
|
HardMix,
|
|
Red,
|
|
Green,
|
|
Blue,
|
|
HslHue,
|
|
HslSaturation,
|
|
HslColor,
|
|
HslLuminosity
|
|
}
|
|
} |