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

rsx: Minor memory optimizations #13467

Merged
merged 5 commits into from Feb 28, 2023
Merged

rsx: Minor memory optimizations #13467

merged 5 commits into from Feb 28, 2023

Conversation

kd-11
Copy link
Contributor

@kd-11 kd-11 commented Feb 28, 2023

Avoid unnecessary copies on the hot path. Profiling identified millions of memory copies every frame in msvc-compiled builds that actually add up enough to hurt performance with draw-call-heavy titles. A modest 3-10% uplift is observed in "infamous" which regularly issues 10-20k draw calls per frame.

@kd-11 kd-11 marked this pull request as ready for review February 28, 2023 15:33
@Megamouse Megamouse added RSX Optimization Optimizes existing code labels Feb 28, 2023
@kd-11 kd-11 merged commit 0a9d646 into RPCS3:master Feb 28, 2023
@kd-11 kd-11 deleted the opt branch February 28, 2023 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Optimization Optimizes existing code RSX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants