mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2026-02-12 11:57:17 -05:00
Logic Operations
This commit is contained in:
committed by
Evan Husted
parent
058ce78d31
commit
3258a4bad1
@@ -663,6 +663,14 @@ namespace Ryujinx.Graphics.Metal
|
||||
SignalDirty(DirtyFlags.DepthBias);
|
||||
}
|
||||
|
||||
public readonly void UpdateLogicOpState(bool enable, LogicalOp op)
|
||||
{
|
||||
_currentState.Pipeline.LogicOpEnable = enable;
|
||||
_currentState.Pipeline.LogicOp = op.Convert();
|
||||
|
||||
SignalDirty(DirtyFlags.RenderPipeline);
|
||||
}
|
||||
|
||||
public readonly void UpdateMultisampleState(MultisampleDescriptor multisample)
|
||||
{
|
||||
_currentState.Pipeline.AlphaToCoverageEnable = multisample.AlphaToCoverageEnable;
|
||||
|
||||
Reference in New Issue
Block a user