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 features and device mismatches in pass beginnings #6497

Conversation

ErichDonGubler
Copy link
Member

@ErichDonGubler ErichDonGubler commented Nov 5, 2024

Connections

Found over the course of testing Firefox's query set implementation in bug 1838729.

Description

-

Testing

CTS coverage for these tests:

  • webgpu:api,validation,capability_checks,features,query_types:createQuerySet:*

  • webgpu:api,validation,capability_checks,features,query_types:timestamp:*

  • webgpu:api,validation,encoding,beginComputePass:timestamp_query_set,device_mismatch:*

  • webgpu:api,validation,encoding,beginRenderPass:timestamp_query_set,device_mismatch:*

  • webgpu:api,validation,encoding,beginRenderPass:occlusion_query_set,device_mismatch:*

  • Ensure that the above tests are changed by this validation.

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 5, 2024
@ErichDonGubler ErichDonGubler requested a review from a team as a code owner November 5, 2024 21:45
@ErichDonGubler ErichDonGubler added area: validation Issues related to validation, diagnostics, and error handling area: correctness We're behaving incorrectly labels Nov 5, 2024
@ErichDonGubler ErichDonGubler merged commit 5936fe5 into gfx-rs:trunk Nov 6, 2024
27 checks passed
@ErichDonGubler ErichDonGubler deleted the validate-pass-beginning-better branch November 6, 2024 06:33
@ErichDonGubler
Copy link
Member Author

ErichDonGubler commented Nov 7, 2024

Figured out what CTS tests cover these checks, edited OP to note that. Will confirm that consumption in Firefox makes these PASS in its WPT runs.

EDIT: Ah, nevermind, we'll figure that out later.

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: validation Issues related to validation, diagnostics, and error handling
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants