Implement Depth Clamping (#1120)
* Implement Depth Clamping and add misc enums * Fix formatting
This commit is contained in:
parent
0a7c6caedf
commit
4960ab85f8
6 changed files with 60 additions and 3 deletions
12
Ryujinx.Graphics.Gpu/State/ViewVolumeClipControl.cs
Normal file
12
Ryujinx.Graphics.Gpu/State/ViewVolumeClipControl.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
|
||||
namespace Ryujinx.Graphics.Gpu.State
|
||||
{
|
||||
[Flags]
|
||||
enum ViewVolumeClipControl
|
||||
{
|
||||
ForceDepthRangeZeroToOne = 1 << 0,
|
||||
DepthClampNear = 1 << 3,
|
||||
DepthClampFar = 1 << 4,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue