Hacker News new | ask | show | jobs
by matxip 1582 days ago
Wow, WGSL looks different from the last time I checked it out (not too long ago iirc). I've been playing around with wgpu and vulkan, but I disliked the wgsl syntax so much that I didn't bother pursuing it any further at the time. I'm actually going to give it another look now since I don't really like glsl syntax much at all either.
1 comments

Just be prepared for the shaders to break with each Chrome release, e.g. the new attribute style broke all existing samples.
Yeah, wgpu isn't updated for the new attributes yet apparently. I looked it up and it was just changed in the 2022-01-19 revision. Definitely a "working draft" as stated.