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: Check depth test early on simple stencil #16001

Merged
merged 1 commit into from
Sep 11, 2022

Conversation

unknownbrackets
Copy link
Collaborator

If we don't need to write stencil on sfail/zfail, we can do the depthtest early, which allows us to more often skip texture sampling.

This gives a good improvement in Chains of Olympus' title screen - combined with #15998, I'm seeing close to ~88-90%.

-[Unknown]

If we don't need to write stencil on sfail/zfail, we can do the depthtest
early, which allows us to more often skip texture sampling.

This gives a good improvement in Chains of Olympus.
@unknownbrackets unknownbrackets added this to the v1.14.0 milestone Sep 11, 2022
@hrydgard hrydgard merged commit d011768 into hrydgard:master Sep 11, 2022
@unknownbrackets unknownbrackets deleted the softgpu-earlyz branch September 11, 2022 07:04
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