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
The current documentation uses GLSL types like float and ivec4 instead of WGSL types like f32 or vec4<i32>. This is related to #2849. This should be an easy fix, but I'm not sure how to handle double precision types. It doesn't look like double precision is mentioned anywhere in the WGSL spec other than literals.
regarding double, let's just pretend it's called f64. It's very likely that in the future there's going to be official wgsl extensions with that, see #4410
The current documentation uses GLSL types like
float
andivec4
instead of WGSL types likef32
orvec4<i32>
. This is related to #2849. This should be an easy fix, but I'm not sure how to handle double precision types. It doesn't look like double precision is mentioned anywhere in the WGSL spec other than literals.https://www.w3.org/TR/webgpu/#enumdef-gpuvertexformat
The text was updated successfully, but these errors were encountered: