You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the codelab for webgpu, the vertex module code is invalid and it will throw error when you try to use it. The reason behind this error is that the vec4f expects a float literal instead of a int literal and can't convert between them.
In the codelab for webgpu, the vertex module code is invalid and it will throw error when you try to use it. The reason behind this error is that the
vec4f
expects a float literal instead of a int literal and can't convert between them.My understanding according to https://gpuweb.github.io/gpuweb/wgsl/#f32-builtin is that it should work:
Note that it works fine with Tint, in Chrome browser.
See original issue raised at googlecodelabs/feedback#1305
The text was updated successfully, but these errors were encountered: