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

fix(core): validate dst_buffer isn't destroyed when resolving query sets #6579

Conversation

ErichDonGubler
Copy link
Member

@ErichDonGubler ErichDonGubler commented Nov 21, 2024

Connections

Description

We should be checking that the buffer query that query sets will be resolved into are, in fact, not destroyed. Do it!

Testing

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • 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.

@ErichDonGubler ErichDonGubler self-assigned this Nov 21, 2024
@ErichDonGubler ErichDonGubler added type: bug Something isn't working area: validation Issues related to validation, diagnostics, and error handling area: correctness We're behaving incorrectly area: cts Issues stemming from the WebGPU Conformance Test Suite labels Nov 21, 2024
@ErichDonGubler ErichDonGubler changed the title fix(core): validate dst_buffer isn't destroyed when resolving query… fix(core): validate dst_buffer isn't destroyed when resolving query sets Nov 21, 2024
@ErichDonGubler ErichDonGubler force-pushed the no-destroyed-buf-in-query-set-resolution-plz branch 2 times, most recently from c70f54c to 158515f Compare November 21, 2024 16:36
@ErichDonGubler ErichDonGubler marked this pull request as ready for review November 21, 2024 16:45
@ErichDonGubler ErichDonGubler requested a review from a team as a code owner November 21, 2024 16:45
@ErichDonGubler ErichDonGubler force-pushed the no-destroyed-buf-in-query-set-resolution-plz branch from 158515f to 6365e2d Compare November 22, 2024 04:24
@ErichDonGubler ErichDonGubler merged commit 6365e2d into gfx-rs:trunk Nov 22, 2024
27 checks passed
@ErichDonGubler ErichDonGubler deleted the no-destroyed-buf-in-query-set-resolution-plz branch November 22, 2024 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: correctness We're behaving incorrectly area: cts Issues stemming from the WebGPU Conformance Test Suite area: validation Issues related to validation, diagnostics, and error handling type: bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants