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

Validate for device mismatch during compute pass recording #5779

Merged
merged 3 commits into from
Jun 10, 2024

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Jun 6, 2024

Description
Noticed in passing that compute pass (unlike render pass) didn't do any validation on pipeline/buffer/bindgroup/etc. having the correct device.

Testing
Todo! This sort of thing needs more general test coverage. Another time!

Checklist

  • Run cargo fmt.
  • Run cargo clippy. If applicable, add:
    • --target wasm32-unknown-unknown
    • --target wasm32-unknown-emscripten
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file.

@Wumpf Wumpf requested a review from a team as a code owner June 6, 2024 09:54
@sagudev
Copy link
Contributor

sagudev commented Jun 6, 2024

related: #5628 (comment)

Removing assertDeviceMatch in deno_webgpu should make cts test work (if correctly implemented).

@Wumpf Wumpf merged commit eb24be4 into gfx-rs:trunk Jun 10, 2024
25 checks passed
@Wumpf Wumpf deleted the compute-pass-recording-device-validation branch June 10, 2024 10:19
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.

3 participants