mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-02 16:50:20 -07:00

* 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
17 lines
465 B
C#
17 lines
465 B
C#
namespace Ryujinx.Graphics.GAL
|
|
{
|
|
public struct AdvancedBlendDescriptor
|
|
{
|
|
public AdvancedBlendOp Op { get; }
|
|
public AdvancedBlendOverlap Overlap { get; }
|
|
public bool SrcPreMultiplied { get; }
|
|
|
|
public AdvancedBlendDescriptor(AdvancedBlendOp op, AdvancedBlendOverlap overlap, bool srcPreMultiplied)
|
|
{
|
|
Op = op;
|
|
Overlap = overlap;
|
|
SrcPreMultiplied = srcPreMultiplied;
|
|
}
|
|
}
|
|
}
|