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

GPU: Correct depth clamp range in range cull #11785

Merged
merged 1 commit into from
Feb 10, 2019

Conversation

unknownbrackets
Copy link
Collaborator

It was just wrong before, causing wrong culling when using a non-standard
viewport scale/center for depth.

Fixes #11701, fixes #11781.

This doesn't fix some more obscure behavior in the actual hardware's range culling, though. But it may fix other issues since enabling range cull.

-[Unknown]

It was just wrong before, causing wrong culling when using a non-standard
viewport scale/center for depth.

Fixes hrydgard#11701, fixes hrydgard#11781.
@unknownbrackets unknownbrackets added this to the v1.8.0 milestone Feb 10, 2019
@hrydgard
Copy link
Owner

Oh! Good catch. Code looks right.

@hrydgard hrydgard merged commit e05a4ce into hrydgard:master Feb 10, 2019
@unknownbrackets unknownbrackets deleted the viewport-z branch February 10, 2019 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants