dawn-cmake/test
Ben Clayton 1773535e1c Resolver: Validate <storage> var types
https://gpuweb.github.io/gpuweb/wgsl/#variable-declaration
Variables in the storage storage class and variables with a storage
texture type must have an access attribute applied to the store type.

https://gpuweb.github.io/gpuweb/wgsl/#module-scope-variables
A variable in the storage storage class is a storage buffer variable. Its
store type must be a host-shareable structure type with block attribute,
satisfying the storage class constraints.

Fixup tests, including those that were producing warnings about `var <in>`

The WGSL writer seems to want to put a newline after every decoration block, leading to some ugly output. I'll fix this as a separate change.

Fixes: tint:531
Fixes: tint:692
Change-Id: If09d987477247ab4a7c635f6ee6e616a06061515
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/47763
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: James Price <jrprice@google.com>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
2021-04-16 09:26:14 +00:00
..
BUILD.gn Resolver: Validate <storage> var types 2021-04-16 09:26:14 +00:00
compute_boids.wgsl wgsl: Deprecate '-> void' on functions 2021-04-08 14:39:47 +00:00
cube.wgsl Update Tint samples to new entry point IO syntax 2021-04-06 18:08:47 +00:00
function.wgsl wgsl: Deprecate '-> void' on functions 2021-04-08 14:39:47 +00:00
simple.wgsl wgsl: Deprecate '-> void' on functions 2021-04-08 14:39:47 +00:00
test-all.sh Add test/test-all.sh 2021-03-17 18:49:03 +00:00
triangle.wgsl wgsl: Deprecate 'const' for 'let' 2021-04-08 15:46:17 +00:00