webgpu-wgsl-vertex-shaders
Installation
SKILL.md
WGSL Vertex Shaders
Write a @vertex entry point that reads vertex attributes, produces a correct
clip-space position, and passes inter-stage varyings to the fragment stage without
triggering pipeline or shader-creation errors.
Quick Reference
WGSL is the shading language of WebGPU 1.0-stable (Chrome 113+, Safari 26+,
Firefox 141+). A vertex shader runs once per vertex. It ALWAYS outputs a clip-space
@builtin(position): vec4f; the host divides that by w to get normalized device
coordinates.