WGSL // comments

- Update parser to match the latest spec: https://github.com/gpuweb/gpuweb/pull/1326
This commit is contained in:
Jay Oster
2021-01-05 20:34:40 -08:00
committed by Dzmitry Malyshau
parent 6710f5954e
commit 3bf7f41068
7 changed files with 43 additions and 41 deletions

View File

@@ -1,4 +1,4 @@
# vertex
// vertex
[[location(0)]] var<in> a_pos : vec2<f32>;
[[location(0)]] var<out> o_pos : vec4<f32>;