wasl 0.0.0

The WebAssembly shader language
Documentation
  • Coverage
  • 100%
    1 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 19.04 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 246.38 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 15s Average build duration of successful builds.
  • all releases: 15s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • zicklag

WASL

The WebAssembly Shader Language

Crates.io Docs.rs Build Status lines of code Katharos License

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.