GL: Implement more Point parameters (#1399)

* Fix GL_INVALID_VALUE on glPointSize calls

* Implement more of Point primitive state

* Use existing Origin enum
This commit is contained in:
mageven 2020-07-21 06:29:13 +05:30 committed by GitHub
parent 1c84b683c2
commit 723ae240dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 49 additions and 7 deletions

View file

@ -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,