Resolver: Validate array el is not [[block]] struct

Fixed: tint:90
Change-Id: I9500a8c7fad9acf5f797dd2903217821c953acb6
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/48421
Commit-Queue: Ben Clayton <bclayton@google.com>
Auto-Submit: Ben Clayton <bclayton@google.com>
Reviewed-by: James Price <jrprice@google.com>
This commit is contained in:
Ben Clayton
2021-04-21 16:45:02 +00:00
committed by Commit Bot service account
parent 2dd393729c
commit 8db818840e
4 changed files with 79 additions and 21 deletions

View File

@@ -34,7 +34,7 @@ fn frag_main() -> [[location(0)]] vec4<f32> {
}
// compute shader
[[block]] struct Particle {
struct Particle {
pos : vec2<f32>;
vel : vec2<f32>;
};