Skip to content
/ wasm-naga Public

Using naga shader translater with WebAssembly

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

pjoe/wasm-naga

Repository files navigation

🛠️ Build with wasm-pack build

wasm-pack build --release --target nodejs

Goals

The target is reaching an output size acceptable for using run time in browser based apps.

This would be something in the 100KB (gz) range.

Current status

Output size development (for glsl-in, wgsl-in, spv-out)

$ ll pkg/wasm_naga_bg.wasm

-rw-r--r-- 1 code code 694014 Apr  4 09:12 pkg/wasm_naga_bg.wasm (glsl-in, wgsl-in, spv-out, msl-out)
-rw-r--r-- 1 code code 559600 Feb 22 12:26 pkg/wasm_naga_bg.wasm (glsl-in, wgsl-in, spv-out)
-rw-r--r-- 1 code code 480386 Jan 26 07:44 pkg/wasm_naga_bg.wasm (glsl-in, wgsl-in, spv-out)

🔋 Batteries Included

About

Using naga shader translater with WebAssembly

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published