mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-07-02 16:20:48 -07:00
Implement Constant Color blends (#1119)
* Implement Constant Color blends and init blend states * Address gdkchan's comments Also adds Set methods to GpuState * Fix descriptions of QueryModified
This commit is contained in:
@ -17,5 +17,15 @@ namespace Ryujinx.Graphics.Gpu.State
|
||||
public uint Unknown0x1354;
|
||||
public BlendFactor AlphaDstFactor;
|
||||
#pragma warning restore CS0649
|
||||
|
||||
public static BlendStateCommon Default = new BlendStateCommon
|
||||
{
|
||||
ColorOp = BlendOp.Add,
|
||||
ColorSrcFactor = BlendFactor.One,
|
||||
ColorDstFactor = BlendFactor.Zero,
|
||||
AlphaOp = BlendOp.Add,
|
||||
AlphaSrcFactor = BlendFactor.One,
|
||||
AlphaDstFactor = BlendFactor.Zero
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user