Skip to content

Commit

Permalink
[wgsl-in] Let lowering contexts point to a Function directly.
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 committed Oct 22, 2023
1 parent 3ac47f0 commit 802bede
Showing 1 changed file with 77 additions and 78 deletions.
Loading

0 comments on commit 802bede

Please sign in to comment.