Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 448 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 448 Bytes

Some implementation of CGT-521 code using Rust+WGPU

cargo run --release -p <path>
# or
cargo run --release --bin <bin>

The available binary targets are:

  • example_cube
  • example_fish
  • hello-compute
  • hello-workgroups
  • hello-synchronization

install wasm-pack

wasm-pack build <path> --target web

RUSTFLAGS=--cfg=web_sys_unstable_apis wasm-pack build --target web