1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-17 15:26:39 +00:00

Fix >16 primitives

This commit is contained in:
Isaac Marovitz 2024-09-02 10:23:27 +02:00
parent 3005c38a63
commit e994e7826b
No known key found for this signature in database
GPG key ID: 97250B2B09A132E1

View file

@ -948,7 +948,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,