Skip to content

Commit

Permalink
[wgsl-in] Let lowering contexts point to a Function directly. (#2580)
Browse files Browse the repository at this point in the history
Change `StatementContext` and `RuntimeExpressionContext` in
`front::wgsl::lower` to hold a `&mut crate::Function` reference,
rather than separate pointers to individual fields of the `Function`.
This replaces three fields with one, and clarifies their
relationships.
  • Loading branch information
jimblandy authored Oct 24, 2023
1 parent d105909 commit 86b6db6
Showing 1 changed file with 77 additions and 78 deletions.
Loading

0 comments on commit 86b6db6

Please sign in to comment.