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

GS-hw: Optimize pabe (per pixel alpha blending) #5135

Merged
merged 1 commit into from
Dec 28, 2021

Conversation

lightningterror
Copy link
Contributor

Description of Changes

Add an early condition to check if alpha is lower than 128, if so then no blending so early exit.

Rationale behind Changes

Optimization, accuracy on hw blending.

Suggested Testing Steps

Test the following games: SOTC, Breath of Fire Dragon Quarter, Strawberry Shortcake, Super Robot Wars, Cartoon Network Racing.

@lightningterror
Copy link
Contributor Author

lightningterror commented Dec 13, 2021

Do not merge as I plan to include Blend Mix optimizations here.

Add an early condition to check if alpha is lower than 128, if so then no blending so early exit.
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

1 participant