| Crates.io | rspirv |
| lib.rs | rspirv |
| version | 0.12.0+sdk-1.3.268.0 |
| created_at | 2016-11-08 05:27:00.477232+00 |
| updated_at | 2023-12-20 17:43:18.259956+00 |
| description | Rust library APIs for SPIR-V module manipulation |
| homepage | |
| repository | https://github.com/gfx-rs/rspirv |
| max_upload_size | |
| id | 7166 |
| size | 2,201,705 |
The core crate of the rspirv project providing APIs for processing SPIR-V modules:
This crate defines a common SPIR-V data representation (DR) as the medium for various purposes. It also provides a builder to build the DR interactively and a parser to parse a given SPIR-V binary module into its DR. The parser handles decoding and parsing of SPIR-V binary modules according to the grammar, the parsed instructions are sent to the consumer.
The data representation, as the name shows, focuses on presenting the data within a SPIR-V module; a higher level structured representation is currently under developing.
First add to your Cargo.toml:
[dependencies]
rspirv = "0.12.0"
Please see the documentation and project's README for examples.