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

Evolve depth clamping into clip control #2171

Merged
merged 1 commit into from
Nov 10, 2021
Merged

Conversation

kvark
Copy link
Member

@kvark kvark commented Nov 10, 2021

Connections
Upstream gpuweb/gpuweb#2100
Reported in #2170

Description
The new semantics is subtly different. We can't portably enable/disable all clamping. The final clamp needs to happen unconditionally. But we can disable the early stage clipping. So now this requires Vulkan extension for depth clip control.

Testing
Running shadow.

@kvark kvark mentioned this pull request Nov 10, 2021
37 tasks
wgpu-types/src/lib.rs Outdated Show resolved Hide resolved
wgpu-hal/src/vulkan/adapter.rs Outdated Show resolved Hide resolved
@kvark
Copy link
Member Author

kvark commented Nov 10, 2021

Excellent review of Vulkan code, thanks @msiglreith !

@kvark kvark merged commit f25a45f into gfx-rs:master Nov 10, 2021
@kvark kvark deleted the clip-control branch November 10, 2021 21:55
tychedelia added a commit to tychedelia/nannou that referenced this pull request Oct 10, 2023
zmitchell pushed a commit to zmitchell/splatter that referenced this pull request Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants