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
This naga/wgsl-in test is incorrect. WGSL spec does not allow shadowing the for initializer in the body. (because both declaration would have the same end-of-scope, the closing }).
fnforLexicalScope(a:f32){for(var a = 0; a < 1;a++){let a = true;// <-- this is not allowed by WGSL spec.}// <-- because this is the end-of-scope of both declarationslet test:f32 = a;}