5 releases

0.1.4 Mar 14, 2024
0.1.3 Feb 13, 2024
0.1.2 Dec 26, 2023
0.1.1 Dec 26, 2023
0.1.0 Dec 25, 2023

#862 in Graphics APIs

Download history 11/week @ 2023-12-22 20/week @ 2024-02-09 15/week @ 2024-02-16 8/week @ 2024-02-23 1/week @ 2024-03-01 91/week @ 2024-03-08 29/week @ 2024-03-15 102/week @ 2024-03-22 6/week @ 2024-03-29

228 downloads per month

MIT/Apache

565KB
13K SLoC

SPIR-Q Disassembler

Crate

SPIR-Q Disassembler (spirq-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 spirq-dis from cargo with:

cargo install spirq-dis

Usage

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

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

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

License

This project is licensed under either of

at your option.

Dependencies

~3.5MB
~71K SLoC