Ryujinx/Ryujinx.Graphics.Vulkan
riperiperi 2b50e52e48
Fix primitive count calculation for topology conversion (#3763)
Luigi's Mansion 3 performs a non-index quads draw with 6 vertices. It's meant to ignore the last two, but the index pattern's primitive count calculation was rounding up.

No idea why the game does this but this should fix random triangles in the map.
2022-10-16 19:25:40 -03:00
..
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-08-11 18:07:37 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-08-11 18:07:37 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00
2022-07-31 18:26:06 -03:00