1 unstable release

0.1.4 Mar 23, 2024

#143 in Graphics APIs

Download history 157/week @ 2024-03-18 2/week @ 2024-03-25 20/week @ 2024-04-01

179 downloads per month

MIT/Apache

565KB
13K SLoC

spq Assembler

Crate

spq Assembler (spq-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.

Install

You can install spq-as from cargo with:

cargo install spq-as

Usage

To assemble SPIR-V binary from SPIR-V assembly, you can either pass the source file path by argument or pipe the code in.

spq-as [INPUT].spvasm -o [OUTPUT].spv
# - or -
cat [INPUT].spvasm | spq-as -o [OUTPUT].spv

spq-as is a CLI tool for end users. You can also integrate the assembler to your application from the library crate spq-spvasm.

License

This project is licensed under either of

at your option.

Dependencies

~3.5MB
~70K SLoC