Crates.io | spq-as |
lib.rs | spq-as |
version | 0.1.4 |
source | src |
created_at | 2024-03-23 04:48:09.182679 |
updated_at | 2024-03-23 04:48:09.182679 |
description | SPIR-V assembler |
homepage | https://github.com/PENGUINLIONG/spq-rs |
repository | https://github.com/PENGUINLIONG/spq-rs |
max_upload_size | |
id | 1183267 |
size | 16,617 |
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.
You can install spq-as
from cargo with:
cargo install spq-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.
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
.
This project is licensed under either of
at your option.