Shaders haven't been updated for new @ syntax
rjkilpatrick opened this issue · comments
John Kilpatrick commented
In your blog post, you've updated the shaders for the new WGSL @attribute
syntax, but in this repo, the vertex and fragment shaders still follow the old-style double square-brackets syntax.
webgpu-seed/src/shaders/triangle.frag.wgsl
Lines 1 to 4 in 1ee2bdd
webgpu-seed/src/shaders/triangle.vert.wgsl
Lines 1 to 13 in 1ee2bdd
P.S. Thank you for the excellent posts 👏