Webgpu Wgsl Syntax

Use when writing WGSL shader code: declaring types, variables, operators, control flow, and functions. Prevents shader-creation errors from wrong type aliases, recursion, and missing switch defaults. Covers WGSL scalar / vector / matrix / array / struct types, var let const override declarations, operators, swizzling, control flow, and functions. Keywords: WGSL, WGSL syntax, vec3f, mat4x4f, var let const override, alias, switch default, swizzle, WGSL function, recursion not allowed, shader compile error, how do I write a WGSL shader.

Impertio-Studio 6f9add6 4 files · 30.6 KB Updated

File contents

impertio-studio/webgpu-claude-skill-package/tree/main/skills/source/webgpu-wgsl/webgpu-wgsl-syntax commit 6f9add637c

Frequently asked questions

npx skillmds@latest add impertio-studio/webgpu-wgsl-syntax