11 releases (7 breaking)

Uses new Rust 2021

0.8.0 Feb 4, 2022
0.7.1 Sep 20, 2021
0.6.1 May 5, 2021
0.6.0 Mar 25, 2021
0.1.1 Nov 18, 2020

#3 in Data formats

Download history 1669/week @ 2022-01-27 1219/week @ 2022-02-03 2146/week @ 2022-02-10 2157/week @ 2022-02-17 2012/week @ 2022-02-24 1694/week @ 2022-03-03 2231/week @ 2022-03-10 2253/week @ 2022-03-17 2606/week @ 2022-03-24 1946/week @ 2022-03-31 2480/week @ 2022-04-07 1894/week @ 2022-04-14 3017/week @ 2022-04-21 2251/week @ 2022-04-28 2650/week @ 2022-05-05 2024/week @ 2022-05-12

10,301 downloads per month
Used in spirv-diff

MIT/Apache

5.5MB
108K SLoC

C++ 91K SLoC // 0.2% comments C# 4.5K SLoC // 0.0% comments Lua 4.5K SLoC // 0.0% comments Python 4.5K SLoC // 0.0% comments Rust 2K SLoC // 0.1% comments D 1.5K SLoC // 0.0% comments C 250 SLoC // 0.3% comments Shell 50 SLoC // 0.2% comments TypeScript 38 SLoC // 0.2% comments

🛠 spirv-tools

Embark Embark Crates.io Docs dependency status Build status

This crate is an unofficial wrapper for SPIR-V Tools, its primary use case is for the rust-gpu project.

Status

This is a very rough wrapper around the assembler, validator, and (most of the) optimizer tools available from SPIR-V Tools, which is enough for the current needs of the rust-gpu project. See that project's code for more thorough usage examples.

Contributing

Contributor Covenant

We welcome community contributions to this project.

Please read our Contributor Guide for more information on how to get started.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies