-
Notifications
You must be signed in to change notification settings - Fork 954
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
Fix multiview rendering #3779
Fix multiview rendering #3779
Conversation
@cwfitzgerald This is a PR to do the fix for the thing in the issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Besides the comment it looks good!
@teoxoy Made the change |
Do not merge this yet! I messed up the logic with the 2DTextureView to be inverted with the fix |
…yer count and TextureViewDimension when enabled
Fixed, feel free to do checks, resolve the issue and merge |
Checklist
cargo clippy
.RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy --target wasm32-unknown-unknown
if applicable.Connections
fixes #3778
Description
WGPU Multiview works again by disabling some validation of TextureViewDimension and ResolvedArrayLayerCount
Testing
Running WGPU with a multiview enabled and trying it with multiple views.