From a2de6b9255749fdeeed30729537c86e335a23198 Mon Sep 17 00:00:00 2001 From: PixelyIon Date: Wed, 8 Dec 2021 17:42:39 +0530 Subject: [PATCH] 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. --- app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.h b/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.h index 4dbe6d75..fcd44bff 100644 --- a/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.h +++ b/app/src/main/cpp/skyline/soc/gm20b/engines/maxwell_3d.h @@ -217,7 +217,7 @@ namespace skyline::soc::gm20b::engine::maxwell3d { Register<0x581, type::PointCoordReplace> pointCoordReplace; 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<0x5A1, u32> provokingVertexIsLast;