| Crates.io | spirq-as |
| lib.rs | spirq-as |
| version | 0.1.4 |
| created_at | 2023-12-25 15:05:46.07314+00 |
| updated_at | 2024-03-14 01:26:59.389302+00 |
| description | SPIR-V assembler |
| homepage | https://github.com/PENGUINLIONG/spirq-rs |
| repository | https://github.com/PENGUINLIONG/spirq-rs |
| max_upload_size | |
| id | 1080292 |
| size | 16,690 |
SPIR-Q Assembler (spirq-as) is a SPIR-V assembler written in pure Rust. It is a drop-in replacement of the official assembler spirv-as with the same commandline arguments.
You can install spirq-as from cargo with:
cargo install spirq-as
To assemble SPIR-V binary from SPIR-V assembly, you can either pass the source file path by argument or pipe the code in.
spirq-as [INPUT].spvasm -o [OUTPUT].spv
# - or -
cat [INPUT].spvasm | spirq-as -o [OUTPUT].spv
spirq-as is a CLI tool for end users. You can also integrate the assembler to your application from the library crate spirq-spvasm.
This project is licensed under either of
at your option.