Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

WebGPU Shading Language

< >

WebGPU Shading Language is a shading language created in 2020.

#2387on PLDB 6Years Old
Homepage 路 REPL 路 Docs

WebGPU Shading Language (WGSL) is the shader language for [WebGPU]. That is, an application using the WebGPU API uses WGSL to express the programs, known as shaders, that run on the GPU.


Example from the web:
[[location 0]] var<out> gl_FragColor : vec4<f32>; fn main() -> void { gl_FragColor = vec4<f32>(0.4, 0.4, 0.8, 1.0); return; } entry_point fragment = main;

- Build the next great programming language 路 Add 路 Add Prompt 路 Issues 路 About 路 Search 路 Keywords 路 Livestreams 路 Labs 路 Resources 路 Acknowledgements

Built with Scroll v178.2.3