mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Since the table of cached expressions is only meaningful within a single function, it's really something that should only be accessed from `BlockContext`. However, to save heap allocations, it makes sense to retain it in the `Writer` between functions. But the `Writer` field should have a different name, to ensure people don't use it by accident.