[wgsl-in] Type aliases for a vecN<T> doesn't work when constructing vec from a single argument #2105
Labels
area: front-end
Input formats for conversion
kind: bug
Something isn't working
lang: WGSL
WebGPU shading language
Milestone
Given
type Vec3 = vec3<f32>;
Try to create a
Vec3
from a single argument:let thing = Vec3(0.5);
I get an "Expression is invalid" error.
In contrast these things all work fine:
The text was updated successfully, but these errors were encountered: