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

Sync depth/stencil copy restrictions with the spec #3314

Merged

Conversation

teoxoy
Copy link
Member

@teoxoy teoxoy commented Dec 20, 2022

Checklist

  • Run cargo clippy.
  • Run RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy --target wasm32-unknown-unknown if applicable.
  • Add change to CHANGELOG.md. See simple instructions inside file.

Connections

Description

  • allow stencil-only depth24plus-stencil8 to be a copy source
  • allow depth16unorm to be a copy destination
  • allow stencil-only depth24plus-stencil8 and depth32float-stencil8 to be copy destinations

see https://gpuweb.github.io/gpuweb/#depth-formats

Testing

@teoxoy teoxoy added this to the WebGPU Specification V1 milestone Dec 20, 2022
@nical nical merged commit 14886ee into gfx-rs:master Dec 20, 2022
@teoxoy teoxoy deleted the sync-depth-stencil-copy-restrictions-with-the-spec branch December 20, 2022 14:26
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