Implement Depth Clamping (#1120)

* Implement Depth Clamping and add misc enums

* Fix formatting
This commit is contained in:
mageven 2020-04-17 06:46:49 +05:30 committed by GitHub
parent 0a7c6caedf
commit 4960ab85f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 60 additions and 3 deletions

View file

@ -0,0 +1,12 @@
using System;
namespace Ryujinx.Graphics.Gpu.State
{
[Flags]
enum ViewVolumeClipControl
{
ForceDepthRangeZeroToOne = 1 << 0,
DepthClampNear = 1 << 3,
DepthClampFar = 1 << 4,
}
}