Webgpu Wgsl Builtins

Use when calling WGSL builtin functions (math, geometric, integer, pack) or declaring builtin input and output values in shaders. Prevents shader-creation errors from stage-restricted builtins and wrong builtin value types. Covers WGSL builtin functions by category and the builtin values per shader stage with their direction and type. Keywords: WGSL builtin, dot, cross, normalize, mix, clamp, pow, atomicAdd, dpdx, pack4x8unorm, builtin position, global_invocation_id, vertex_index, builtin value, what WGSL functions are available.

Impertio-Studio a25f53e 4 files · 36.5 KB Updated

File contents

impertio-studio/webgpu-claude-skill-package/tree/main/skills/source/webgpu-wgsl/webgpu-wgsl-builtins commit a25f53ee6c

Frequently asked questions

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