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.

#2298on PLDB 4Years 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 · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v164.7.0