Fix Maxwell3D Register lineWidthAliased Offset

The offset was incorrectly set to `0x4D` rather than `0x4ED` which is what it should be. This would've led to bugs in line width determination and likely broken any aliased line rendering entirely.
This commit is contained in:
PixelyIon 2021-11-14 20:49:42 +05:30
parent 51659e1329
commit 6099b1ead5

View File

@ -153,7 +153,7 @@ namespace skyline::soc::gm20b::engine::maxwell3d {
Register<0x4E1, StencilFront> stencilFront; Register<0x4E1, StencilFront> stencilFront;
Register<0x4EC, float> lineWidthSmooth; Register<0x4EC, float> lineWidthSmooth;
Register<0x4D, float> lineWidthAliased; Register<0x4ED, float> lineWidthAliased;
Register<0x50D, u32> drawBaseVertex; Register<0x50D, u32> drawBaseVertex;
Register<0x50E, u32> drawBaseInstance; Register<0x50E, u32> drawBaseInstance;