diff options
| author | mageven <62494521+mageven@users.noreply.github.com> | 2020-04-17 06:46:49 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-17 11:16:49 +1000 |
| commit | 4960ab85f81f48553b7217261f4181e31d812a10 (patch) | |
| tree | 765970f8b028fa965abef43bda308964deaff32d /Ryujinx.Graphics.Gpu/State/ViewVolumeClipControl.cs | |
| parent | 0a7c6caedffd59011077b49cd6493c7a841a66f5 (diff) | |
Implement Depth Clamping (#1120)
* Implement Depth Clamping and add misc enums
* Fix formatting
Diffstat (limited to 'Ryujinx.Graphics.Gpu/State/ViewVolumeClipControl.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/State/ViewVolumeClipControl.cs | 12 |
1 files changed, 12 insertions, 0 deletions
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 |
