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

Optimize lighting for softgpu a bit #17295

Merged
merged 5 commits into from
Apr 16, 2023

Conversation

unknownbrackets
Copy link
Collaborator

This ends up only improving FPS by maybe 1-2% for games that push more verts, and it can vary. Although it's faster, some of the time is just traded by waiting for the drawing threads to complete their background work.

Still, it's good to reduce this as it's a bottleneck in some scenes. May help the tradeoffs of some vector (4 pixels at a time) stuff I tried a while back.

-[Unknown]

Copy link
Owner

@hrydgard hrydgard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@hrydgard hrydgard merged commit f363d2e into hrydgard:master Apr 16, 2023
@unknownbrackets unknownbrackets deleted the softgpu-opt branch April 16, 2023 21:12
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