brendan-duncan / wgsl_reflect

A WebGPU Shading Language parser and reflection library for Javascript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trailing comma in fn params

mighdoll opened this issue · comments

fn foo (a:i32,) {}

seems legal in the spec and is accepted by Tint/Chrome, but rejected by wgsl_reflect

Thanks. I just pushed a fix.