From c2ac45adc5e735f752c128990e022252a6e0a426 Mon Sep 17 00:00:00 2001 From: riperiperi Date: Thu, 30 Apr 2020 02:47:24 +0100 Subject: Fix depth clamp enable bit, unit scale for polygon offset. (#1178) Verified with deko3d and opengl driver code. --- Ryujinx.Graphics.Gpu/State/ViewVolumeClipControl.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Ryujinx.Graphics.Gpu/State') diff --git a/Ryujinx.Graphics.Gpu/State/ViewVolumeClipControl.cs b/Ryujinx.Graphics.Gpu/State/ViewVolumeClipControl.cs index 4e12c424..ace8342c 100644 --- a/Ryujinx.Graphics.Gpu/State/ViewVolumeClipControl.cs +++ b/Ryujinx.Graphics.Gpu/State/ViewVolumeClipControl.cs @@ -6,7 +6,6 @@ namespace Ryujinx.Graphics.Gpu.State enum ViewVolumeClipControl { ForceDepthRangeZeroToOne = 1 << 0, - DepthClampNear = 1 << 3, - DepthClampFar = 1 << 4, + DepthClampDisabled = 1 << 11, } } \ No newline at end of file -- cgit v1.2.3