13 releases (6 breaking)

0.9.0 Jul 25, 2023
0.7.0 Apr 21, 2023
0.6.1 Mar 20, 2023
0.4.0 Dec 21, 2022
0.1.0 Oct 16, 2020

#734 in Graphics APIs

Download history 1742/week @ 2023-08-05 282/week @ 2023-08-12 235/week @ 2023-08-19 142/week @ 2023-08-26 64/week @ 2023-09-02 90/week @ 2023-09-09 98/week @ 2023-09-16 67/week @ 2023-09-23 111/week @ 2023-09-30 143/week @ 2023-10-07 170/week @ 2023-10-14 129/week @ 2023-10-21 162/week @ 2023-10-28 189/week @ 2023-11-04 89/week @ 2023-11-11 87/week @ 2023-11-18

551 downloads per month
Used in 2 crates (via spirv-builder)

MIT/Apache

1MB
23K SLoC

rustc_codegen_spirv

Compiler backend for the SPIR-V target architecture. This crate is not intended to be used directly. Please refer to spirv-builder for more information.

Documentation

Because of its nature, this crate can only be built using a very specific nightly version of the Rust toolchain. As such, the docs.rs build of the API documentation will likely fail. Please refer to the documentation in the rust-gpu github repo for properly built docs.


lib.rs:

Welcome to the API documentation for the rust-gpu project, this API is unstable and mainly intended for developing on the project itself. This is the API documentation for rustc_codegen_spirv which is not that useful on its own. You might also be interested in the following crates. There's also the Rust GPU Dev Guide which contains more user-level information on how to use and setup rust-gpu.

Dependencies

~15–26MB
~426K SLoC