From 723ae240dcb6ff8b03d1187cdbd81f20424bac52 Mon Sep 17 00:00:00 2001 From: mageven <62494521+mageven@users.noreply.github.com> Date: Tue, 21 Jul 2020 06:29:13 +0530 Subject: GL: Implement more Point parameters (#1399) * Fix GL_INVALID_VALUE on glPointSize calls * Implement more of Point primitive state * Use existing Origin enum --- Ryujinx.Graphics.Gpu/State/MethodOffset.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Ryujinx.Graphics.Gpu/State/MethodOffset.cs') diff --git a/Ryujinx.Graphics.Gpu/State/MethodOffset.cs b/Ryujinx.Graphics.Gpu/State/MethodOffset.cs index b0eb6f32..d9e2ce93 100644 --- a/Ryujinx.Graphics.Gpu/State/MethodOffset.cs +++ b/Ryujinx.Graphics.Gpu/State/MethodOffset.cs @@ -73,6 +73,7 @@ namespace Ryujinx.Graphics.Gpu.State FirstInstance = 0x50e, ClipDistanceEnable = 0x544, PointSize = 0x546, + PointSpriteEnable = 0x548, ResetCounter = 0x54c, RtDepthStencilEnable = 0x54e, ConditionState = 0x554, @@ -84,6 +85,7 @@ namespace Ryujinx.Graphics.Gpu.State RtMsaaMode = 0x574, VbElementU32 = 0x57a, VbElementU16 = 0x57c, + PointCoordReplace = 0x581, ShaderBaseAddress = 0x582, DrawEnd = 0x585, DrawBegin = 0x586, @@ -92,6 +94,7 @@ namespace Ryujinx.Graphics.Gpu.State IndexBufferCount = 0x5f8, DepthBiasClamp = 0x61f, VertexBufferInstanced = 0x620, + VertexProgramPointSize = 0x644, FaceState = 0x646, ViewportTransformEnable = 0x64b, ViewVolumeClipControl = 0x64f, -- cgit v1.2.3