diff options
Diffstat (limited to 'Ryujinx.Graphics.Gpu/State')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/State/MethodOffset.cs | 1 | ||||
| -rw-r--r-- | Ryujinx.Graphics.Gpu/State/ViewVolumeClipControl.cs | 12 | ||||
| -rw-r--r-- | Ryujinx.Graphics.Gpu/State/YControl.cs | 11 |
3 files changed, 24 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/State/MethodOffset.cs b/Ryujinx.Graphics.Gpu/State/MethodOffset.cs index a178c2f8..b8ee7e91 100644 --- a/Ryujinx.Graphics.Gpu/State/MethodOffset.cs +++ b/Ryujinx.Graphics.Gpu/State/MethodOffset.cs @@ -75,6 +75,7 @@ namespace Ryujinx.Graphics.Gpu.State VertexBufferInstanced = 0x620, FaceState = 0x646, ViewportTransformEnable = 0x64b, + ViewVolumeClipControl = 0x64f, Clear = 0x674, RtColorMask = 0x680, ReportState = 0x6c0, diff --git a/Ryujinx.Graphics.Gpu/State/ViewVolumeClipControl.cs b/Ryujinx.Graphics.Gpu/State/ViewVolumeClipControl.cs new file mode 100644 index 00000000..4e12c424 --- /dev/null +++ b/Ryujinx.Graphics.Gpu/State/ViewVolumeClipControl.cs @@ -0,0 +1,12 @@ +using System; + +namespace Ryujinx.Graphics.Gpu.State +{ + [Flags] + enum ViewVolumeClipControl + { + ForceDepthRangeZeroToOne = 1 << 0, + DepthClampNear = 1 << 3, + DepthClampFar = 1 << 4, + } +}
\ No newline at end of file diff --git a/Ryujinx.Graphics.Gpu/State/YControl.cs b/Ryujinx.Graphics.Gpu/State/YControl.cs new file mode 100644 index 00000000..58e000d9 --- /dev/null +++ b/Ryujinx.Graphics.Gpu/State/YControl.cs @@ -0,0 +1,11 @@ +using System; + +namespace Ryujinx.Graphics.Gpu.State +{ + [Flags] + enum YControl + { + NegateY = 1 << 0, + TriangleRastFlip = 1 << 4 + } +}
\ No newline at end of file |
