diff options
| author | riperiperi <rhy3756547@hotmail.com> | 2020-07-10 18:23:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-10 14:23:15 -0300 |
| commit | f224769c493e80ab2bd9a674be697461749e0b94 (patch) | |
| tree | 7cf61d4b96a0ceaf87d7877be63a5b2abc2543df /Ryujinx.Graphics.Gpu/State | |
| parent | 189c0c9c726b3a700272831cd5cf10b2fc817cc2 (diff) | |
Implement Logical Operation registers and functionality (#1380)
* Implement Logical Operation registers and functionality.
* Address Feedback 1
Diffstat (limited to 'Ryujinx.Graphics.Gpu/State')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/State/LogicalOpState.cs | 12 | ||||
| -rw-r--r-- | Ryujinx.Graphics.Gpu/State/MethodOffset.cs | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/State/LogicalOpState.cs b/Ryujinx.Graphics.Gpu/State/LogicalOpState.cs new file mode 100644 index 00000000..d052a45c --- /dev/null +++ b/Ryujinx.Graphics.Gpu/State/LogicalOpState.cs @@ -0,0 +1,12 @@ +using Ryujinx.Graphics.GAL; + +namespace Ryujinx.Graphics.Gpu.State +{ + struct LogicalOpState + { +#pragma warning disable CS0649 + public Boolean32 Enable; + public LogicalOp LogicalOp; +#pragma warning restore CS0649 + } +} diff --git a/Ryujinx.Graphics.Gpu/State/MethodOffset.cs b/Ryujinx.Graphics.Gpu/State/MethodOffset.cs index 2e0a197e..d7d5d903 100644 --- a/Ryujinx.Graphics.Gpu/State/MethodOffset.cs +++ b/Ryujinx.Graphics.Gpu/State/MethodOffset.cs @@ -92,6 +92,7 @@ namespace Ryujinx.Graphics.Gpu.State FaceState = 0x646, ViewportTransformEnable = 0x64b, ViewVolumeClipControl = 0x64f, + LogicOpState = 0x671, Clear = 0x674, RtColorMask = 0x680, ReportState = 0x6c0, |
