From 0cd5ba03fe4cccd232cdb6aa7e8648b4a08a0ab1 Mon Sep 17 00:00:00 2001 From: BaronKiko Date: Sun, 13 Jan 2019 21:26:42 +0000 Subject: =?UTF-8?q?Scissor=20test=20implementation.=20Partially=20stubbed?= =?UTF-8?q?=20until=20geometry=20shaders=E2=80=A6=20(#556)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Scissor test implementation. Partially stubbed until geometry shaders are fixed * Apply to all viewports when geometry shaders are disabled. * Also apply enable cap to all viewports when geometry shaders are disabled * Added fixme as per suggestion Co-Authored-By: BaronKiko * Apparently no alignment needed here. * Comment on new line * Correct height calculation --- Ryujinx.Graphics/Graphics3d/NvGpuEngine3dReg.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Ryujinx.Graphics/Graphics3d/NvGpuEngine3dReg.cs') diff --git a/Ryujinx.Graphics/Graphics3d/NvGpuEngine3dReg.cs b/Ryujinx.Graphics/Graphics3d/NvGpuEngine3dReg.cs index 30243c02..026b0cd1 100644 --- a/Ryujinx.Graphics/Graphics3d/NvGpuEngine3dReg.cs +++ b/Ryujinx.Graphics/Graphics3d/NvGpuEngine3dReg.cs @@ -22,6 +22,9 @@ namespace Ryujinx.Graphics.Graphics3d ClearNColor = 0x360, ClearDepth = 0x364, ClearStencil = 0x368, + ScissorEnable = 0x380, + ScissorHorizontal = 0x381, + ScissorVertical = 0x382, StencilBackFuncRef = 0x3d5, StencilBackMask = 0x3d6, StencilBackFuncMask = 0x3d7, -- cgit v1.2.3