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:
@ -4,6 +4,7 @@ namespace Ryujinx.Graphics.GAL
|
||||
{
|
||||
public bool Enable { get; }
|
||||
|
||||
public ColorF BlendConstant { get; }
|
||||
public BlendOp ColorOp { get; }
|
||||
public BlendFactor ColorSrcFactor { get; }
|
||||
public BlendFactor ColorDstFactor { get; }
|
||||
@ -13,6 +14,7 @@ namespace Ryujinx.Graphics.GAL
|
||||
|
||||
public BlendDescriptor(
|
||||
bool enable,
|
||||
ColorF blendConstant,
|
||||
BlendOp colorOp,
|
||||
BlendFactor colorSrcFactor,
|
||||
BlendFactor colorDstFactor,
|
||||
@ -21,6 +23,7 @@ namespace Ryujinx.Graphics.GAL
|
||||
BlendFactor alphaDstFactor)
|
||||
{
|
||||
Enable = enable;
|
||||
BlendConstant = blendConstant;
|
||||
ColorOp = colorOp;
|
||||
ColorSrcFactor = colorSrcFactor;
|
||||
ColorDstFactor = colorDstFactor;
|
||||
|
Reference in New Issue
Block a user