WebGPU Shading Language

WebGPU Shading Language
Latest versionW3C Candidate recommendation
(As of 2025)
Organization
Committee
  • GPU for the Web WG
  • GPU for the Web CG
Domain

WebGPU Shading Language (WGSL) is a high-level shading language with a syntax inspired by Rust. It was initially developed by the W3C GPU for the Web Community Group to provide developers with a modern, safe, and portable shading language for the WebGPU API. WGSL is designed to be compiled to SPIR-V or other intermediate representations, enabling execution across different graphics hardware while maintaining security and portability requirements essential for web applications.