Add support for vertex base on indexed draws, fix index buffer first (untested) (#197)
This commit is contained in:
parent
3262fd13da
commit
3e81421b2f
3 changed files with 20 additions and 4 deletions
|
@ -487,7 +487,9 @@ namespace Ryujinx.HLE.Gpu.Engines
|
|||
|
||||
if (IndexCount != 0)
|
||||
{
|
||||
Gpu.Renderer.Rasterizer.DrawElements(IndexPosition, IndexFirst, PrimType);
|
||||
int VertexBase = ReadRegister(NvGpuEngine3dReg.VertexArrayElemBase);
|
||||
|
||||
Gpu.Renderer.Rasterizer.DrawElements(IndexPosition, IndexFirst, VertexBase, PrimType);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue