webgpu-wgsl-uniformity
OfficialShip uniformity-safe WGSL shaders
Software Engineering#webgpu#wgsl#feature gating#texture sampling#uniformity#shader diagnostics#compute barriers
AuthorImpertio-Studio
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Use this Skill when WGSL shaders fail uniformity analysis or when optional language and device features need to be enabled safely. It prevents shader-creation errors caused by sampling, derivatives, barriers, or diagnostics being placed in the wrong control flow.
Core Features & Use Cases
- Uniformity Fixes: Identifies when texture sampling, derivatives, or workgroup barriers must be moved into uniform control flow.
- Directive Guidance: Explains how to place enable, requires, and diagnostic directives correctly at the top of a shader.
- Feature Gating: Helps pair shader features with host-side device checks so f16, subgroups, and other optional capabilities compile reliably.
- Use Case: Debug a fragment shader that triggers derivative_uniformity, then rewrite it so sampling is hoisted safely and the shader validates on WebGPU.
Quick Start
Ask for help fixing a WGSL shader that triggers a uniformity diagnostic, and the Skill will show the correct control-flow rewrite, directive placement, and feature gating.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: webgpu-wgsl-uniformity Download link: https://github.com/Impertio-Studio/WebGPU-Claude-Skill-Package/archive/main.zip#webgpu-wgsl-uniformity Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.