Expand description
WASL is a library and standard for a way to translate WebAssembly modules to shaders that can be executed on the GPU.
WASL works by having a standardized WASM interface for interacting with the GPU as a shader, and
by parsing WASM modules into the Naga intermediate representation ( naga::Module
) so that
it can be translated to shader code for the target platform: SPIR-V, GLSL, HLSL, Metal, etc.
WASL also comes with tools to make it easier to compile WASL modules using the Rust language, allowing you to write Rust code that targets the GPU.