Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid initialising VeldridVertexBuffer immediately #5849

Merged
merged 3 commits into from
Jun 19, 2023

Conversation

peppy
Copy link
Member

@peppy peppy commented Jun 19, 2023

Reduces the uploaded vertices when creating a new vertex buffer

Fixes the spikes I was seeing on entering song select where VerticesUpl goes way higher than VerticesDraw. Unfortunately this doesn't fix the whole performance issue, but seems like a sane improvement.

Change was implemented with oversight from smoogi.

@smoogipoo smoogipoo merged commit 7510e3d into ppy:master Jun 19, 2023
@peppy peppy deleted the vertex-batch-sanity branch June 21, 2023 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants