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:
parent
75ec30c962
commit
a728610b40
10 changed files with 140 additions and 16 deletions
|
@ -17,5 +17,15 @@ namespace Ryujinx.Graphics.Gpu.State
|
|||
public BlendFactor AlphaDstFactor;
|
||||
public uint Padding;
|
||||
#pragma warning restore CS0649
|
||||
|
||||
public static BlendState Default = new BlendState
|
||||
{
|
||||
ColorOp = BlendOp.Add,
|
||||
ColorSrcFactor = BlendFactor.One,
|
||||
ColorDstFactor = BlendFactor.Zero,
|
||||
AlphaOp = BlendOp.Add,
|
||||
AlphaSrcFactor = BlendFactor.One,
|
||||
AlphaDstFactor = BlendFactor.Zero
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue