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

softgpu: Reduce some flushing / flushing cost #16054

Merged
merged 2 commits into from
Sep 19, 2022

Conversation

unknownbrackets
Copy link
Collaborator

Just some small changes to reduce flushing a bit in some games. The benefit is small but goes from say 93% -> 94% in a Split/Second frame dump.

-[Unknown]

Even if X is not equal, if all Y are equal, we can still skip.
This seems to happen more often than I expected with far away objects.

Skipping here avoids filling up the queue.
Minor tweak, we sometimes try to flush even without anything to flush, and
were previously rechecking a lot of things.
@hrydgard hrydgard merged commit 3e0b3ba into hrydgard:master Sep 19, 2022
@unknownbrackets unknownbrackets deleted the softgpu-flush branch September 19, 2022 16:01
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.

2 participants