Fix Maxwell3D vertexEndGl Register Offset

The offset was set to 0x586 which is the location of `vertexBeginGl`, it's been corrected now and set to 0x585.
This commit is contained in:
PixelyIon 2021-12-08 17:42:39 +05:30
parent 5815cda7a7
commit a2de6b9255

View File

@ -217,7 +217,7 @@ namespace skyline::soc::gm20b::engine::maxwell3d {
Register<0x581, type::PointCoordReplace> pointCoordReplace; Register<0x581, type::PointCoordReplace> pointCoordReplace;
Register<0x582, type::Address> setProgramRegion; Register<0x582, type::Address> setProgramRegion;
Register<0x586, u32> vertexEndGl; //!< Method-only register with no real value, used after calling vertexBeginGl and draws are complete Register<0x585, u32> vertexEndGl; //!< Method-only register with no real value, used after calling vertexBeginGl to invoke the draw
Register<0x586, type::VertexBeginGl> vertexBeginGl; //!< Similar to glVertexBegin semantically, supplies a primitive topology for draws alongside instancing data Register<0x586, type::VertexBeginGl> vertexBeginGl; //!< Similar to glVertexBegin semantically, supplies a primitive topology for draws alongside instancing data
Register<0x5A1, u32> provokingVertexIsLast; Register<0x5A1, u32> provokingVertexIsLast;