Ryujinx icon indicating copy to clipboard operation
Ryujinx copied to clipboard

Vulkan: Batch vertex buffer updates

Open riperiperi opened this issue 2 years ago • 1 comments

This PR batches together vertex buffer updates to reduce the number of individual calls to update vertex buffers. It also avoids rebinding vertex buffers that have not changed, which is common when games are doing instanced rendering.

image

Improves performance slightly on BOTW on my system. Some areas bind more vertex buffers per draw than others.

Note that any improvement greatly depends on the game and the driver.

riperiperi avatar May 07 '23 16:05 riperiperi