1 unstable release

0.1.4 Mar 23, 2024

#327 in Graphics APIs

Download history 162/week @ 2024-03-21 17/week @ 2024-03-28 5/week @ 2024-04-04

184 downloads per month

MIT/Apache

565KB
13K SLoC

spq Disassembler

Crate

spq Disassembler (spq-dis) is a SPIR-V disassembler written in pure Rust. It is a drop-in replacement of the official disassembler spirv-dis with the same commandline arguments.

Install

You can install spq-dis from cargo with:

cargo install spq-dis

Usage

To disassemble SPIR-V binary, you can either pass the SPIR-V file path by argument or pipe the content in.

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

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

License

This project is licensed under either of

at your option.

Dependencies

~3.5MB
~69K SLoC