ComputeSharedMemoryTests: Add missing access qualifier

https://gpuweb.github.io/gpuweb/wgsl.html#variables:

> "Variables in the storage storage class and variables with a storage texture type must have an access attribute applied to the store type."

Bug: tint:692
Change-Id: I61774bb6bda9a7d31e3a85c24fcdb6e2fc25e7b1
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/46378
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Ben Clayton 2021-03-30 16:37:07 +00:00 committed by Commit Bot service account
parent 5da990b0a4
commit 25d3f252a6
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ TEST_P(ComputeSharedMemoryTests, Basic) {
x : u32;
};
[[group(0), binding(0)]] var<storage> dst : Dst;
[[group(0), binding(0)]] var<storage> dst : [[access(write)]] Dst;
var<workgroup> tmp : u32;
[[stage(compute), workgroup_size(4,4,1)]]