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

#363 in Graphics APIs

Download history 63/week @ 2024-08-14 50/week @ 2024-08-21 55/week @ 2024-08-28 81/week @ 2024-09-04 65/week @ 2024-09-11 87/week @ 2024-09-18 117/week @ 2024-09-25 2068/week @ 2024-10-02 2120/week @ 2024-10-09 2729/week @ 2024-10-16 3291/week @ 2024-10-23 3241/week @ 2024-10-30 4207/week @ 2024-11-06 3284/week @ 2024-11-13 3800/week @ 2024-11-20 3884/week @ 2024-11-27

15,796 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–25MB
~428K SLoC