Fix >16 primitives

This commit is contained in:
Isaac Marovitz 2024-09-02 10:23:27 +02:00 committed by KeatonTheBot
parent ab8d4fcae1
commit d75cfc5028

View file

@ -926,7 +926,7 @@ namespace Ryujinx.Graphics.Vulkan
_pipeline.SetStorageBuffers(1, new[] { srcIndexBuffer.GetBuffer(), dstIndexBuffer.GetBuffer() });
_pipeline.SetProgram(_programConvertIndexBuffer);
_pipeline.DispatchCompute(1, 1, 1);
_pipeline.DispatchCompute(BitUtils.DivRoundUp(primitiveCount, 16), 1, 1);
BufferHolder.InsertBufferBarrier(
gd,