Is it expected that this fails with "expected '>' for array declaration" (Tint from latest Chrome Canary):
const pos : array<vec2<f32>, 4>= array<vec2<f32>, 4>(
vec2<f32>(-1.0, 1.0),
vec2<f32>(1.0, 1.0),
vec2<f32>(-1.0, -1.0),
vec2<f32>(1.0, -1.0)
);
?
It fails because there's no space between > and = in const pos : array<vec2<f32>, 4>= array<vec2<f32>, 4>(.
Adding a space make it work:
const pos : array<vec2<f32>, 4> = array<vec2<f32>, 4>(
vec2<f32>(-1.0, 1.0),
vec2<f32>(1.0, 1.0),
vec2<f32>(-1.0, -1.0),
vec2<f32>(1.0, -1.0)
);