Skip to content

WGSL: Add a skeleton for diagnostic filter rules/diagnostic(…); that reports nice errors#6456

Merged
ErichDonGubler merged 2 commits intogfx-rs:trunkfrom
erichdongubler-mozilla:diagnostic-directive-skeleton
Oct 30, 2024
Merged

WGSL: Add a skeleton for diagnostic filter rules/diagnostic(…); that reports nice errors#6456
ErichDonGubler merged 2 commits intogfx-rs:trunkfrom
erichdongubler-mozilla:diagnostic-directive-skeleton

Conversation

@ErichDonGubler
Copy link
Copy Markdown
Member

@ErichDonGubler ErichDonGubler commented Oct 23, 2024

Connections

Description

Recommended review experience is commit-by-commit. Each individual commit should pass CI!

Finishes building out a parsing skeleton for all directives (see also #6352, #6424, #6350). Paves the way for us to actually track diagnostic filters, and apply them.

Testing

Testing has been done manually to @ErichDonGubler's satisfaction. Test coverage for this parsing will be added in #6457.

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 added naga Shader Translator area: naga front-end Translation to Naga IR labels Oct 23, 2024
@ErichDonGubler ErichDonGubler self-assigned this Oct 23, 2024
@ErichDonGubler ErichDonGubler changed the title refactor(wgsl-in): specify more closure ret. types in parsing WGSL: Add a skeleton for diagnostic filter rules/diagnostic(…); that reports nice errors Oct 23, 2024
@ErichDonGubler ErichDonGubler marked this pull request as ready for review October 23, 2024 22:14
@ErichDonGubler ErichDonGubler requested a review from a team October 23, 2024 22:14
@ErichDonGubler ErichDonGubler added lang: WGSL WebGPU Shading Language type: enhancement New feature or request labels Oct 23, 2024
@ErichDonGubler ErichDonGubler force-pushed the diagnostic-directive-skeleton branch from d139d1c to 555c643 Compare October 24, 2024 02:17
@ErichDonGubler ErichDonGubler force-pushed the diagnostic-directive-skeleton branch 2 times, most recently from 04794a4 to 3764f91 Compare October 25, 2024 02:50
teoxoy
teoxoy previously requested changes Oct 25, 2024
@ErichDonGubler ErichDonGubler force-pushed the diagnostic-directive-skeleton branch from 3764f91 to d6b419a Compare October 25, 2024 17:52
@ErichDonGubler ErichDonGubler requested a review from a team as a code owner October 25, 2024 17:52
@ErichDonGubler ErichDonGubler force-pushed the diagnostic-directive-skeleton branch 2 times, most recently from 4d609af to 2ea2cd0 Compare October 25, 2024 18:32
@ErichDonGubler ErichDonGubler force-pushed the diagnostic-directive-skeleton branch from 2ea2cd0 to 97d3556 Compare October 26, 2024 01:10
@ErichDonGubler ErichDonGubler force-pushed the diagnostic-directive-skeleton branch from 97d3556 to 290600b Compare October 30, 2024 21:11
@ErichDonGubler ErichDonGubler force-pushed the diagnostic-directive-skeleton branch from 290600b to d7a3b6d Compare October 30, 2024 22:22
@ErichDonGubler ErichDonGubler enabled auto-merge (rebase) October 30, 2024 22:23
@ErichDonGubler ErichDonGubler merged commit 8c13d8f into gfx-rs:trunk Oct 30, 2024
@ErichDonGubler ErichDonGubler deleted the diagnostic-directive-skeleton branch October 30, 2024 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: naga front-end Translation to Naga IR lang: WGSL WebGPU Shading Language naga Shader Translator type: enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants