wgpu/tests/out
Jim Blandy cc930180d9 Tighten checks on pointers to unsized values, and pointer arguments.
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.
2021-11-18 17:39:56 -05:00
..
analysis Use UniqueArena for types. 2021-09-27 15:17:41 -04:00
dot [wgsl] Storage buffer/texture access (#1142) 2021-07-28 01:47:18 -04:00
glsl [valid] Check that switches have a default case (#1529) 2021-11-15 00:07:55 +00:00
hlsl [valid] Check that switches have a default case (#1529) 2021-11-15 00:07:55 +00:00
ir [spv-in] Permit pointers to runtime arrays only in StorageBuffer. (#1522) 2021-11-10 16:58:57 -05:00
msl [valid] Check that switches have a default case (#1529) 2021-11-15 00:07:55 +00:00
spv Tighten checks on pointers to unsized values, and pointer arguments. 2021-11-18 17:39:56 -05:00
wgsl Tighten checks on pointers to unsized values, and pointer arguments. 2021-11-18 17:39:56 -05:00