mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-23 07:51:08 +01:00
Pointers should not be `DATA`: they can never be stored in anything. (Function arguments are not storage; they're like `let` bindings.) Un-`SIZED` values may only live in the `Storage` storage class, so creating pointers to them in other storage classes is meaningless. The `ARGUMENT` flag should be set only on pointers in those storage classes that are permitted to be passed to functions. See comments in code for details. Fixes #1513.