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: Expand fast path to all fb formats #16518

Merged
merged 5 commits into from
Dec 7, 2022

Conversation

unknownbrackets
Copy link
Collaborator

Also some more incremental improvements based on the frame dump. These are mainly from testing on PC, though.

I figure my chances of noticing the fast path being broken are higher if it is hit for more framebuffer formats...

-[Unknown]

This should speed up 2D games not using 5551, and make it mroe likely any
regression is caught for Darkstalkers.
Wanted to avoid coupling these, but don't like the std::function
construct/destructs showing in profiles...
This is common (for example, maybe a pixel state is updated but sampler is
not), and reduces time spent in ComputeRasterizerState() quite a bit in
Darkstalkers, where jits are available (i.e. Intel currently.)
Apparently we don't link libatomic and rather than fighting that, I'll
just use thread local values.
@hrydgard hrydgard merged commit cb4536d into hrydgard:master Dec 7, 2022
@unknownbrackets unknownbrackets deleted the softgpu-fastrect branch December 7, 2022 14:56
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