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: Use threads on self-render if safe #16387

Merged
merged 1 commit into from
Nov 13, 2022

Conversation

unknownbrackets
Copy link
Collaborator

Some games, such as Prince of Persia, self-render 1:1 to colorize, rather than to scale or blur. We can still use threads in these cases.

This improves Prince of Persia - Rival Swords performance by almost 10% (63% -> 69% speed.) It'd be safe to avoid flushing here too, but that's harder since we have to recalculate on each if it's safe.

This might not help games that use tiny tiles as well unless we recognize and combine them, which we might already be doing.

-[Unknown]

Some games, such as Prince of Persia, self-render 1:1 to colorize, rather
than to scale or blur.  We can still use threads in these cases.
@unknownbrackets unknownbrackets added this to the v1.14.0 milestone Nov 13, 2022
@hrydgard hrydgard merged commit 875b66e into hrydgard:master Nov 13, 2022
@unknownbrackets unknownbrackets deleted the softgpu-self branch November 13, 2022 21:07
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