mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-29 09:34:09 +01:00
The WGSL front end knows that globals in the `Handle` storage class do not produce references, but it attempts to manage this in two places which trip over each other. As a consequence, referring to a `let` binding holding a pointer to a global flips the variable's type from WGSL `ptr` to WGSL reference, with bewildering consequences.