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

#352 in Graphics APIs

Download history 1375/week @ 2024-09-30 1672/week @ 2024-10-07 2988/week @ 2024-10-14 2711/week @ 2024-10-21 3484/week @ 2024-10-28 3965/week @ 2024-11-04 3580/week @ 2024-11-11 3504/week @ 2024-11-18 3649/week @ 2024-11-25 4552/week @ 2024-12-02 4726/week @ 2024-12-09 2997/week @ 2024-12-16 20/week @ 2024-12-23 155/week @ 2024-12-30 1512/week @ 2025-01-06 679/week @ 2025-01-13

2,367 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
~435K SLoC