Crates.io | wasm2spirv |
lib.rs | wasm2spirv |
version | 0.1.0 |
source | src |
created_at | 2023-07-20 16:30:12.590916 |
updated_at | 2023-07-20 16:30:12.590916 |
description | Compile your WebAssembly programs into SPIR-V shaders |
homepage | |
repository | https://github.com/Aandreba/wasm2spirv |
max_upload_size | |
id | 921500 |
size | 288,893 |
Warning
wasm2spirv
is still in early development, and not production ready.
This repository contains the code for both, the CLI and library for wasm2spirv.
To add wasm2spirv
as a library for your Rust project, run this command on
you'r project's root directory: cargo add wasm2spirv
To install the latest version of the wasm2spirv
CLI, run this command:
cargo install wasm2spirv
llvm-tools
enables
optimization and validation.llvm_cross
enables
cross-compilation to GLSL, HLSL and MSL.